:root {
    --ink: #17222c;
    --navy: #253645;
    --navy-deep: #1a2733;
    --navy-ink: #121c25;
    --accent: #e4572e;
    --accent-dark: #c8461f;
    --paper: #f3f5f7;
    --line: #e2e7ec;
    --white: #fff;
    --muted: #5f6d7a;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(18, 28, 37, 0.08);
    --shadow-lg: 0 24px 60px rgba(18, 28, 37, 0.18);
    --max: 1200px;
    --header-h: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.sound_only, .skip a {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.skip a:focus {
    width: auto;
    height: auto;
    clip: auto;
    left: 16px;
    top: 16px;
    z-index: 10000;
    background: var(--white);
    padding: 8px 12px;
}
:focus-visible { outline: 3px solid rgba(228, 87, 46, 0.55); outline-offset: 2px; }

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* 버튼 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { border-color: var(--navy); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-ink); border-color: var(--navy-ink); }
.btn-white { background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { background: var(--paper); border-color: var(--paper); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* 헤더 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    color: #fff;
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(10, 16, 22, 0.25); }
.topbar { background: var(--navy-ink); font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.topbar-inner, .header-bar, .top-links { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; min-height: 34px; gap: 12px; }
.top-links { gap: 16px; }
.top-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.top-links a:hover { color: #fff; }
.header-bar { gap: 28px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { display: block; height: 60px; width: auto; }

.nav-toggle, .sub-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #fff;
}
.nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
.nav-toggle-bar, .nav-toggle-bar:before, .nav-toggle-bar:after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    position: relative;
    content: "";
    transition: transform .2s, background-color .2s;
}
.nav-toggle-bar:before { position: absolute; top: -7px; }
.nav-toggle-bar:after { position: absolute; top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar:before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:after { transform: translateY(-7px) rotate(-45deg); }

#gnb { margin-left: auto; }
#gnb > ul { display: flex; gap: 4px; }
#gnb > ul > li { position: relative; }
#gnb > ul > li > a {
    display: inline-flex;
    align-items: center;
    min-height: var(--header-h);
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    position: relative;
}
#gnb > ul > li > a:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s;
}
#gnb > ul > li.is-current > a,
#gnb > ul > li:hover > a { color: #fff; }
#gnb > ul > li.is-current > a:after,
#gnb > ul > li:hover > a:after { transform: scaleX(1); }
.sub-toggle { display: none; }
.sub {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    padding: 10px;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.sub a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
}
.sub a:hover { background: var(--paper); color: var(--accent); }
#gnb li:hover > .sub,
#gnb li:focus-within > .sub { display: block; }

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background-color .2s;
}
.header-call:hover { background: var(--accent-dark); }

/* 서브 페이지 상단 */
.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(228, 87, 46, 0.22), transparent 40%),
        linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: #fff;
}
.page-hero .wrap { padding: 52px 0 48px; }
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }

/* 공통 섹션 */
.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eyebrow-light { color: #ff9a76; }
.band { padding: 96px 0; }
.band-muted { background: var(--paper); }
.band-dark { background: var(--navy-deep); color: #fff; }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-title { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.section-note { margin-top: 10px; color: var(--muted); }
.sub-title { margin: 64px 0 20px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.section-more { margin-top: 36px; text-align: center; }
.empty { color: var(--muted); font-size: 14px; padding: 20px 0; }

/* 히어로 */
.hero-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(228, 87, 46, 0.28), transparent 38%),
        radial-gradient(circle at 10% 90%, rgba(80, 130, 170, 0.25), transparent 40%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
    color: #fff;
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
    padding: 72px 0 120px;
}
.hero-region { font-size: 20px; color: rgba(255, 255, 255, 0.78); margin-bottom: 6px; }
.hero-title {
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.035em;
}
.hero-lead {
    margin-top: 22px;
    max-width: 520px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 36px;
    margin: 48px 0 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats dt { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.hero-stats dd { margin: 2px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.hero-stats small { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.65); }

.hero-card {
    background: #fff;
    color: var(--ink);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.hero-stage { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-on { display: block; animation: heroFade .5s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.banner-crop { display: block; overflow: hidden; aspect-ratio: 690 / 372; }
.banner-crop img { display: block; width: 100%; max-width: none; margin-top: -4.06%; }
.hero-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
}
.hero-card-label { color: var(--muted); font-size: 14px; margin-right: 6px; }
.hero-card-foot strong { font-size: 18px; }
.hero-nav { display: flex; align-items: center; gap: 10px; }
.hero-prev, .hero-next {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-prev:hover, .hero-next:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cdd4db;
    cursor: pointer;
    transition: width .2s, background-color .2s;
}
.hero-dot.is-on { width: 24px; background: var(--accent); }

/* 바로가기 */
.quick-band { position: relative; z-index: 2; margin-top: -56px; }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 104px;
    padding: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-left: 1px solid var(--line);
    transition: background-color .2s, color .2s;
}
.quick:first-child { border-left: 0; }
.quick i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fdece6;
    color: var(--accent);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s, color .2s;
}
.quick:hover { background: var(--navy); color: #fff; }
.quick:hover i { background: var(--accent); color: #fff; }

/* 악취의 원인 */
.cause-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cause { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cause img { display: block; width: 100%; }
.ak-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ak-grid a {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    transition: transform .2s, box-shadow .2s;
}
.ak-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ak-grid img { display: block; width: 100%; }

/* 제품 특징 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.feature-media {
    background: #2a3a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    padding: 20px;
}
.feature-media img { max-height: 190px; width: auto; }
.feature-body { padding: 26px 26px 30px; }
.feature-no { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; }
.feature h3 { margin: 6px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.feature p { color: var(--muted); }

/* 시공전후 */
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot-grid a {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    transition: transform .2s, box-shadow .2s;
}
.shot-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot-grid img { display: block; width: 100%; }

/* 시공사례 탭 */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--navy); }
.tab.is-on, .tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.is-on { display: block; animation: heroFade .35s ease; }
.sigong-latest { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sigong-latest a {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.sigong-latest a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sigong-latest img, .sigong-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #d9dee4;
    display: block;
}
.sigong-latest span:not(.sigong-thumb) { display: block; padding: 12px 14px 14px; font-size: 15px; font-weight: 700; line-height: 1.45; }

/* 약속 */
.band-dark .section-title { font-size: 32px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-grid li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 30px 28px;
}
.promise-grid i {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.promise-grid p { font-size: 18px; color: rgba(255, 255, 255, 0.88); }

/* 인증 */
.cert-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cert-grid li { text-align: center; }
.cert-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s;
}
.cert-grid li:hover .cert-img { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-img img { max-height: 160px; width: auto; }
.cert-name { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* 납품 실적 */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 36px; }
.logo-grid li {
    background: #fff;
    border-radius: var(--radius-sm);
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.logo-grid img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.record-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.record-list div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}
.record-list dt { font-weight: 700; color: var(--navy); }
.record-list dt:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px 3px 0;
    border-radius: 50%;
    background: var(--accent);
}
.record-list dd { margin: 0; color: var(--muted); font-size: 15px; }

/* 시공팀 */
.team-photo { width: 100%; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }

/* 문의 */
.band-cta {
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.18), transparent 40%),
        linear-gradient(135deg, var(--accent) 0%, #b93d18 100%);
    color: #fff;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-label { font-size: 20px; color: rgba(255, 255, 255, 0.85); }
.contact-tel {
    display: inline-block;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
    text-decoration: none;
}
.contact-main .hero-actions { margin-top: 26px; }
.contact-main .btn-white { color: var(--accent-dark); }
.contact-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-lg);
}
.contact-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.contact-card-head h2 { font-size: 20px; font-weight: 700; }
.contact-card-head a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15px; }
.qna-latest li + li { border-top: 1px solid var(--line); }
.qna-latest a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    text-decoration: none;
}
.qna-latest a:hover span { color: var(--accent); }
.qna-latest span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qna-latest time { flex: none; color: var(--muted); font-size: 14px; }

/* 푸터 */
#ft { background: var(--navy-ink); color: rgba(255, 255, 255, 0.65); padding: 56px 0 40px; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 260px 1fr 200px; gap: 40px; }
.ft-logo img { display: block; height: 48px; width: auto; }
.ft-tel { margin-top: 18px; font-size: 26px; font-weight: 800; }
.ft-tel a { color: #fff; text-decoration: none; }
.ft-info { font-style: normal; display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; }
.ft-info b { color: rgba(255, 255, 255, 0.9); font-weight: 600; margin-right: 4px; }
.ft-nav { display: grid; gap: 8px; align-content: start; }
.ft-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.ft-nav a:hover { color: #fff; }
#top_btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 30;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.call-fab {
    display: none;
    position: fixed;
    left: 16px;
    right: 80px;
    bottom: 16px;
    z-index: 30;
    min-height: 52px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    line-height: 52px;
    box-shadow: 0 10px 24px rgba(228, 87, 46, 0.4);
}

#zoom {
    border: 0;
    border-radius: var(--radius);
    padding: 16px;
    max-width: min(960px, calc(100% - 32px));
    background: #111;
}
#zoom::backdrop { background: rgba(0, 0, 0, 0.75); }
#zoom img { display: block; max-height: 80vh; margin: 0 auto; }
#zoom-close {
    display: block;
    margin-left: auto;
    margin-bottom: 10px;
    background: #fff;
    border: 0;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 16px;
    cursor: pointer;
}

/* 서브 페이지 본문 */
.is-sub #container {
    width: min(var(--max), calc(100% - 40px));
    min-height: 50vh;
    margin: 0 auto;
    padding: 56px 0 96px;
}
.page-body img { max-width: 100%; height: auto; }
.greeting { display: flex; justify-content: center; }
.greeting img { border-radius: var(--radius); }
.location-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.location-list li {
    background: var(--paper);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}
.map-frame { width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.root_daum_roughmap, .root_daum_roughmap .wrap_map { width: 100% !important; max-width: 100%; }

/* 게시판: 목록 */
.list-tools, .view-actions, .view-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.list-tools { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.list-tools > div { display: flex; gap: 8px; flex-wrap: wrap; }

.product-grid, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.case-card strong { padding: 12px 14px 14px; font-size: 15px; line-height: 1.45; }
.product-card, .case-card {
    display: block;
    height: 100%;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover, .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.photo-crop { display: block; overflow: hidden; aspect-ratio: 420 / 204; background: #fff; }
.photo-crop img { display: block; width: 164.29%; max-width: none; margin-top: -6.67%; }
.photo-thumb { display: block; overflow: hidden; aspect-ratio: 420 / 204; background: var(--paper); }
.photo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-card img, .product-fallback, .case-fallback {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--paper);
    display: block;
}
.product-fallback { aspect-ratio: 420 / 204; }
.product-fallback, .case-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy), var(--navy-ink));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.case-fallback { font-size: 15px; background: var(--paper); color: var(--muted); }
.product-card strong, .case-card strong {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 18px;
    font-size: 17px;
    border-top: 1px solid var(--line);
}
.product-card strong:after {
    content: "\f105";
    font-family: FontAwesome;
    color: var(--accent);
    font-size: 20px;
}

.board-search { display: flex; gap: 8px; flex-wrap: wrap; }
.board-search input[type="text"] { width: 220px; border-radius: 999px; padding: 0 18px; }
.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.board-table th, .board-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.board-table th { font-size: 14px; color: var(--muted); font-weight: 600; }
.board-table .col-hide { width: 110px; }
.board-table td.col-hide { color: var(--muted); font-size: 14px; white-space: nowrap; }
.cmt-count {
    display: inline-block;
    min-width: 22px;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fdece6;
    color: var(--accent);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    vertical-align: 2px;
}
.board-table tbody tr { transition: background-color .15s; }
.board-table tbody tr:hover { background: var(--paper); }
.board-table a { text-decoration: none; font-weight: 600; }
.board-table a:hover { color: var(--accent); }

.board-search input, #bo_w input[type="text"], #bo_w input[type="password"], #bo_w input[type="email"], #bo_w input[type="file"], #bo_w textarea, #bo_w select,
#bo_vc input[type="text"], #bo_vc input[type="password"], #bo_vc textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d3dae1;
    border-radius: var(--radius-sm);
    min-height: 46px;
    padding: 10px 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.board-search input:focus, #bo_w input:focus, #bo_w textarea:focus, #bo_w select:focus, #bo_vc input:focus, #bo_vc textarea:focus {
    outline: 0;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(37, 54, 69, 0.12);
}

/* 게시판: 글쓰기 */
#bo_w {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
#bo_w textarea, #bo_vc textarea { min-height: 180px; }
#bo_w textarea { min-height: 280px; line-height: 1.7; resize: vertical; }
#bo_w input::placeholder, #bo_w textarea::placeholder { color: #9aa6b2; }
.write-head {
    padding: 36px 44px 28px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fafb, #fff);
}
.write-head .eyebrow { margin-bottom: 6px; }
.write-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.write-guide { margin-top: 8px; color: var(--muted); font-size: 14px; }
.req { color: var(--accent); font-weight: 700; }
.write-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 28px 44px 0;
    padding: 18px 20px;
    border: 1px solid #f6d3c6;
    border-radius: 12px;
    background: #fdf4f0;
}
.write-notice-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}
.write-notice strong { display: block; font-size: 15px; }
.write-notice p { margin-top: 2px; color: var(--muted); font-size: 14px; }
.write-notice a { color: var(--accent); font-weight: 800; text-decoration: none; }
#fwrite { padding: 8px 44px 40px; }
.write-section { margin: 0; padding: 28px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.write-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    float: left;
    width: 100%;
    margin-bottom: 18px;
    padding: 0;
    font-size: 17px;
    font-weight: 800;
}
.write-section-title + * { clear: both; }
.write-step {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 24px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
#bo_w .field { margin-bottom: 18px; }
#bo_w .field-grid .field, #bo_w .field:last-child { margin-bottom: 0; }
#bo_w .field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}
#bo_w .field > label small { margin-left: 4px; color: var(--muted); font-weight: 500; }
#bo_w .field > label .fa { width: 16px; color: var(--muted); }
#bo_w input[type="text"], #bo_w input[type="password"], #bo_w input[type="email"], #bo_w select, #bo_w textarea {
    min-height: 50px;
    padding: 12px 16px;
    border-color: #d5dce3;
    background: #fbfcfd;
}
#bo_w input:focus, #bo_w textarea:focus, #bo_w select:focus { background: #fff; }
#autosave_wrapper { position: relative; display: flex; gap: 8px; }
#autosave_wrapper #wr_subject { flex: 1; }
#btn_autosave {
    flex: none;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}
#autosave_pop {
    display: none;
    position: absolute;
    top: 58px;
    right: 0;
    z-index: 20;
    width: 320px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}
#autosave_pop ul { margin: 10px 0; max-height: 220px; overflow-y: auto; }
#autosave_pop li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#autosave_pop .autosave_close { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
#char_count_desc { margin-bottom: 8px; color: var(--muted); font-size: 13px; }
#char_count_wrap { margin-top: 6px; color: var(--muted); font-size: 13px; text-align: right; }
#bo_w input[type="file"] {
    min-height: 0;
    padding: 10px;
    border: 1px dashed #c3ccd5;
    background: var(--paper);
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}
#bo_w input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.file-field input[type="text"] { margin-top: 8px; }
.file_del { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.write-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.write-options-label { font-size: 14px; font-weight: 700; }
.write-options .bo_v_option { display: flex; flex-wrap: wrap; gap: 8px; }
.write-options .chk_box { position: relative; }
.write-options .chk_box input { position: absolute; opacity: 0; }
.write-options .chk_box label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}
.write-options .chk_box label span {
    width: 16px;
    height: 16px;
    border: 1.5px solid #b8c2cc;
    border-radius: 4px;
    background: #fff;
}
.write-options .chk_box input:checked + label { border-color: var(--navy); background: var(--navy); color: #fff; }
.write-options .chk_box input:checked + label span {
    border-color: #fff;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23253645' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.write-options .chk_box input:focus-visible + label { outline: 3px solid rgba(228, 87, 46, 0.55); outline-offset: 2px; }
.write-captcha { padding-top: 24px; }
#bo_w .btn_confirm.write-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.write-actions .btn_submit { min-width: 160px; }
#bo_w .btn_submit, #bo_vc .btn_submit, .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 0 28px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
#bo_w .btn_submit:hover, .btn_submit:hover { background: var(--accent-dark); }
#bo_w .btn_cancel {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
}
#bo_w .bo_w_flie .file_wr, #bo_w .bo_w_link .lb_icon { display: block; }
#captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
}
#captcha legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-size: 14px; font-weight: 600; }
#captcha #captcha_img { height: 46px; border-radius: 6px; background: #fff; }
#captcha #captcha_key { width: 140px; min-height: 46px; text-align: center; letter-spacing: 0.2em; }
#captcha button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}
#captcha #captcha_info { flex-basis: 100%; color: var(--muted); font-size: 13px; }

/* 게시판: 글보기 */
.view-head {
    align-items: flex-start;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.view-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.view-meta { color: var(--muted); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.view-actions { gap: 6px; }
.view-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
}
.view-actions a:hover { border-color: var(--navy); }
#bo_v_img { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
#bo_v_img a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    overflow: hidden;
}
#bo_v_img img { display: block; }
#bo_v_con { margin-top: 12px; overflow: auto; font-size: 17px; line-height: 1.8; }
#bo_v_con img, #bo_v_img img { max-width: 100%; height: auto; }
.view-files, .view-links { margin-top: 24px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius-sm); }
.view-nav { margin-top: 32px; display: grid; border-top: 1px solid var(--line); }
.view-nav a { display: block; padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
.view-nav a:hover { color: var(--accent); }
.view-nav span { color: var(--muted); margin-right: 12px; font-size: 14px; }
#bo_vc { margin-top: 32px; }
.cmt_btn {
    width: 100%;
    text-align: left;
    background: var(--paper);
    border: 0;
    border-radius: var(--radius-sm);
    min-height: 48px;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

.pg_wrap { margin-top: 36px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pg_wrap .pg { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg_wrap a, .pg_wrap strong, .pg_page, .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
}
.pg_wrap a:hover { border-color: var(--navy); }
.pg_current, .pg_wrap strong { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 1100px) {
    .header-call span { display: none; }
    .header-call { width: 44px; padding: 0; justify-content: center; }
    #gnb > ul > li > a { padding: 0 12px; }
    #gnb > ul > li > a:after { left: 12px; right: 12px; }
    .cert-grid { grid-template-columns: repeat(4, 1fr); }
    .ak-grid, .shot-grid { grid-template-columns: repeat(3, 1fr); }
    .logo img { height: 50px; }
    .sigong-latest, .case-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .band { padding: 72px 0; }
    .nav-toggle { display: inline-flex; }
    .header-bar { position: relative; gap: 12px; }
    .logo img { height: 42px; }
    .header-call { order: 2; margin-left: auto; }
    .nav-toggle { order: 3; margin-left: 0; }
    #gnb {
        display: none;
        position: absolute;
        left: -20px;
        right: -20px;
        top: 100%;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: var(--navy-deep);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 20px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    .nav-open #gnb { display: block; }
    #gnb > ul { display: block; }
    #gnb > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    #gnb > ul > li > a { width: calc(100% - 48px); min-height: 54px; padding: 0 4px; }
    #gnb > ul > li > a:after { display: none; }
    #gnb > ul > li.is-current > a { color: #ff9a76; }
    .sub-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 54px;
        position: absolute;
        right: 0;
        top: 0;
    }
    .sub-toggle:before { content: "+"; font-size: 22px; font-weight: 300; }
    #gnb li.is-open > .sub-toggle:before { content: "–"; }
    .sub {
        position: static;
        transform: none;
        display: none;
        min-width: 0;
        border-radius: var(--radius-sm);
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        padding: 6px;
        margin-bottom: 12px;
    }
    .sub a { color: rgba(255, 255, 255, 0.85); }
    .sub a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
    #gnb li:hover > .sub,
    #gnb li:focus-within > .sub { display: none; }
    #gnb li.is-open > .sub { display: block; }

    .hero-layout { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 100px; }
    .hero-lead { max-width: none; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick:nth-child(3) { border-left: 0; }
    .quick:nth-child(n+3) { border-top: 1px solid var(--line); }
    .feature-grid, .promise-grid, .sigong-latest, .shot-grid, .product-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .record-list, .cause-grid { grid-template-columns: 1fr; }
    .contact-grid, .ft-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-title { font-size: 32px; }
    .page-hero h1 { font-size: 32px; }
    .call-fab { display: block; }
    #top_btn { bottom: 18px; }
    #ft { padding-bottom: 96px; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .wrap, .is-sub #container { width: calc(100% - 32px); }
    #gnb { left: -16px; right: -16px; }
    .logo img { height: 38px; }
    .topbar .top-copy { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .band { padding: 60px 0; }
    .section-head { margin-bottom: 28px; }
    .section-title, .band-dark .section-title { font-size: 26px; }
    .sub-title { margin-top: 44px; font-size: 20px; }
    .hero-layout { padding: 40px 0 88px; }
    .hero-region { font-size: 16px; }
    .hero-lead { font-size: 16px; }
    .hero-actions .btn-lg { flex: 1 1 auto; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hero-stats dd { font-size: 20px; }
    .hero-stats small { display: block; font-size: 12px; }
    .hero-card-foot { padding: 12px 14px; }
    .hero-card-label { display: none; }
    .quick { flex-direction: column; gap: 8px; min-height: 96px; font-size: 15px; }
    .quick i { width: 42px; height: 42px; font-size: 19px; }
    .feature-grid, .promise-grid, .sigong-latest, .shot-grid, .product-grid, .case-grid { grid-template-columns: 1fr; }
    .ak-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ak-grid a { padding: 6px; border-radius: var(--radius-sm); }
    .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cert-img { height: 130px; padding: 8px; }
    .cert-img img { max-height: 112px; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .record-list div { grid-template-columns: 1fr; gap: 4px; }
    .contact-card { padding: 20px; }
    .page-hero .wrap { padding: 36px 0 32px; }
    .page-hero h1 { font-size: 26px; }
    .is-sub #container { padding: 36px 0 72px; }
    .location-list { grid-template-columns: 1fr; }
    .board-table .col-hide { display: none; }
    .board-search { width: 100%; }
    .board-search input[type="text"] { flex: 1; width: auto; }
    #bo_w { margin: 0 -4px; border-radius: 14px; }
    .write-head { padding: 26px 20px 20px; }
    .write-head h2 { font-size: 22px; }
    .write-notice { margin: 20px 20px 0; padding: 14px 16px; }
    #fwrite { padding: 0 20px 28px; }
    .field-grid { grid-template-columns: 1fr; }
    #autosave_wrapper { flex-wrap: wrap; }
    #autosave_wrapper #wr_subject { flex-basis: 100%; }
    #bo_w .btn_confirm.write-actions .btn { flex: 1; justify-content: center; }
    .view-head h2 { font-size: 24px; }
    #bo_v_img { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
    .header-call { display: none; }
}

/* 로그인 */
body.is-auth { background: var(--paper); }
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    min-height: 100vh;
}
.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 56px clamp(32px, 5vw, 80px);
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, rgba(228, 87, 46, 0.28), transparent 45%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
    color: #fff;
}
.auth-brand::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 120px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}
.auth-logo img { display: block; height: 60px; width: auto; }
.auth-brand-copy { position: relative; z-index: 1; max-width: 460px; }
.auth-brand-copy .eyebrow { color: #f2a487; }
.auth-brand-title {
    margin-top: 10px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
}
.auth-brand-desc { margin-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.auth-points { display: grid; gap: 12px; margin-top: 32px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.9); font-size: 15px; }
.auth-points .fa {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(228, 87, 46, 0.9);
    font-size: 12px;
}
.auth-tel {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    transition: background-color .2s;
}
.auth-tel:hover { background: rgba(255, 255, 255, 0.12); }
.auth-tel span { color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.auth-tel strong { font-size: 20px; letter-spacing: 0.01em; }
.auth-main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 72px 24px;
}
.auth-home {
    position: absolute;
    top: 28px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.auth-home:hover { color: var(--ink); }
.is-auth #mb_login.mbskin { width: 100%; max-width: 440px; margin: 0; text-align: left; }
.is-auth #mb_login .mbskin_box {
    padding: 44px 40px 36px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}
.is-auth #mb_login .mb_log_cate { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.is-auth #mb_login .mb_log_cate h2 {
    float: none;
    width: auto;
    padding: 0;
    text-align: left;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.is-auth #mb_login .mb_log_cate h2::after {
    content: "아이디와 비밀번호를 입력해 주세요.";
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.is-auth #mb_login .mb_log_cate .join {
    float: none;
    width: auto;
    flex: none;
    margin-top: 6px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.is-auth #mb_login .mb_log_cate .join:hover { border-color: var(--navy); }
.is-auth #login_fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.is-auth #login_fs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.is-auth #mb_login #login_fs .frm_input {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0 0 12px;
    padding: 0 16px 0 48px;
    border: 1px solid #d5dce3;
    border-radius: 10px;
    background: #fbfcfd no-repeat 16px center / 18px;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.is-auth #mb_login .mb_log_cate::after { display: none; }
.is-auth #mb_login #login_fs #login_id { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238896a3' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E"); }
.is-auth #mb_login #login_fs #login_pw { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238896a3' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.is-auth #mb_login #login_fs .frm_input:focus {
    outline: 0;
    border-color: var(--navy);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 54, 69, 0.12);
}
.is-auth #mb_login #login_fs .frm_input::placeholder { color: #9aa6b2; }
.is-auth #mb_login #login_fs .btn_submit {
    width: 100%;
    height: 54px;
    margin: 8px 0 20px;
    border-radius: 10px;
    font-size: 17px;
    box-shadow: 0 10px 20px rgba(228, 87, 46, 0.22);
}
.is-auth #login_info { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.is-auth #login_info::after { display: none; }
.is-auth #login_info .login_if_auto, .is-auth #login_info .login_if_lpl { float: none; }
.is-auth #login_info .chk_box label { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: var(--muted); cursor: pointer; }
.is-auth #login_info .chk_box label span {
    float: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #b8c2cc;
    border-radius: 5px;
    background: #fff;
}
.is-auth #login_info .chk_box input:checked + label { color: var(--ink); }
.is-auth #login_info .chk_box input:checked + label span {
    border-color: var(--navy);
    background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.is-auth #login_info .chk_box input:focus-visible + label span { outline: 3px solid rgba(228, 87, 46, 0.55); outline-offset: 2px; }
.is-auth #login_info .login_if_lpl a { color: var(--muted); text-decoration: none; }
.is-auth #login_info .login_if_lpl a:hover { color: var(--ink); text-decoration: underline; }
.is-auth #mb_login #sns_login { margin-top: 24px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
    .auth-shell { grid-template-columns: 1fr; min-height: 0; }
    .auth-brand { gap: 0; padding: 22px 20px; }
    .auth-brand::after, .auth-brand-copy, .auth-tel { display: none; }
    .auth-logo img { height: 44px; }
    .auth-main { justify-content: flex-start; padding: 56px 16px 64px; }
    .auth-home { top: 18px; right: 20px; }
}

@media (max-width: 640px) {
    .is-auth #mb_login .mbskin_box { padding: 32px 22px 26px; border-radius: 16px; }
    .is-auth #mb_login .mb_log_cate h2 { font-size: 24px; }
}
