/* ============================================================
   덕경인테리어 — 공통 스타일
   모바일 우선(Mobile First). 768px 태블릿, 1024px 데스크톱에서 확장.
   ============================================================ */

/* ── 디자인 토큰 ───────────────────────────────────────── */
:root {
    /*
       블루 + 웜 뉴트럴.
       포인트 색(버튼·링크)은 블루로 두되, 배경과 선은 메인 사진의
       트래버틴·우드 톤에 맞춰 따뜻한 중간색으로 잡았다.
       차가운 회색을 쓰면 사진과 붙었을 때 화면이 갈라져 보인다.
    */
    --c-ink: #1A1D21;
    --c-ink-sub: #5C6067;
    --c-ink-mute: #8D8E8C;
    --c-primary: #1F5FA6;
    --c-primary-dark: #17497F;
    --c-primary-soft: #E9EFF7;
    --c-accent: #0F7BC4;
    --c-bg: #FFFFFF;
    --c-bg-soft: #F6F4F1;
    --c-line: #E5E1DB;
    --c-danger: #B3261E;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(22, 32, 43, .06);
    --shadow-md: 0 8px 28px rgba(22, 32, 43, .10);

    --header-h: 60px;
    --container: 1160px;

    /* 어르신 고객도 읽기 편하도록 통상보다 한 단계 크게 잡았다 */
    --fs-body: 16px;
    --fs-lead: 18px;
}

@media (min-width: 768px) {
    :root {
        --header-h: 72px;
        --fs-body: 17px;
        --fs-lead: 20px;
    }
}

/* ── 리셋 ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
                 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--c-ink);
    background: var(--c-bg);
    word-break: keep-all;      /* 한글 단어 중간에서 줄바꿈되지 않게 */
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

:focus-visible {
    outline: 3px solid var(--c-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── 레이아웃 ──────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

.section { padding: 56px 0; }
.section-soft { background: var(--c-bg-soft); }

@media (min-width: 768px) { .section { padding: 88px 0; } }

.section-head { margin-bottom: 28px; }
.section-head .eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--c-accent);
    text-transform: uppercase;
}
.section-head h2 { font-size: 1.6rem; margin-bottom: .35em; }
.section-head p { color: var(--c-ink-sub); margin: 0; }

@media (min-width: 768px) {
    .section-head { margin-bottom: 40px; }
    .section-head h2 { font-size: 2.1rem; }
}

.text-center { text-align: center; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
    .grid { gap: 24px; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── 버튼 ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;              /* 터치 타깃 확보 */
    padding: 12px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }

.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary-soft); }

.btn-ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }

.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { filter: brightness(.93); }

/* ── 헤더 ──────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--c-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
}

.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.logo-mark {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--c-primary);
    color: #fff;
    font-size: 1rem;
}
.logo-text { font-size: 1.12rem; letter-spacing: -.03em; }

.gnb { display: none; }
.gnb a {
    padding: 8px 12px;
    font-weight: 500;
    color: var(--c-ink-sub);
    border-radius: 8px;
}
.gnb a:hover, .gnb a.is-active { color: var(--c-primary); background: var(--c-primary-soft); }
.gnb .gnb-cta { color: var(--c-primary); font-weight: 700; }

.header-right { display: flex; align-items: center; gap: 10px; }

/*
   전화 버튼은 모바일에서도 항상 보여야 한다(문의 전환의 핵심).
   좁은 화면에서는 아이콘 + '전화' 로 줄이고, 768px 이상에서 번호를 펼친다.
*/
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
}
.btn-call svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.btn-call .btn-call-num { display: none; }

@media (min-width: 768px) {
    .btn-call { padding: 8px 18px; font-size: .98rem; }
    .btn-call .btn-call-num { display: inline; }
    .btn-call .btn-call-label { display: none; }
}
.btn-call:hover { background: var(--c-primary-dark); }
.btn-call.is-placeholder { background: var(--c-ink-mute); }

.nav-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: #fff;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--c-ink);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 열린 메뉴 */
.gnb.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
}
.gnb.is-open a {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
}
.gnb.is-open a:last-child { border-bottom: 0; }

@media (min-width: 1024px) {
    .gnb { display: flex; align-items: center; gap: 2px; }
    .nav-toggle { display: none; }
}

/* ── 히어로 ────────────────────────────────────────────── */
.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 74vh;
    color: #fff;
    background: var(--c-primary-dark);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /*
       메인 사진은 아래쪽(바닥·소파)이 밝아서 흰 글씨가 묻힌다.
       위는 거의 비우고 아래로 갈수록 진해지는 중성 어둠으로 글자만 확보한다.
       파란 기가 도는 오버레이는 우드·트래버틴 색을 탁하게 만들어 쓰지 않는다.
    */
    background: linear-gradient(180deg,
        rgba(20, 18, 16, .10) 0%,
        rgba(20, 18, 16, .46) 48%,
        rgba(20, 18, 16, .78) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    /* 좌우는 .container 의 여백을 그대로 쓴다.
       shorthand 로 쓰면 .container 의 padding 을 덮어써서 글자가 화면에 붙는다. */
    padding-top: 40px;
    padding-bottom: 48px;
}
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: .86rem;
    font-weight: 600;
}
.hero h1 {
    font-size: 2rem;
    line-height: 1.28;
    margin-bottom: .4em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
.hero-sub {
    max-width: 46ch;
    margin-bottom: 26px;
    font-size: var(--fs-lead);
    color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-actions .btn-outline:hover { background: rgba(255, 255, 255, .14); }

@media (min-width: 768px) {
    .hero { min-height: 620px; }
    .hero-inner { padding-top: 64px; padding-bottom: 72px; }
    .hero h1 { font-size: 3rem; }
}

/* ── 강점 배지 ─────────────────────────────────────────── */
.strengths { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.strength {
    padding: 20px 16px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}
.strength-icon {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--c-primary-soft);
    color: var(--c-primary);
}
.strength-icon svg { width: 22px; height: 22px; fill: currentColor; }
.strength h3 { font-size: 1.02rem; margin-bottom: .25em; }
.strength p { margin: 0; font-size: .93rem; color: var(--c-ink-sub); }

@media (min-width: 768px) {
    .strengths { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .strength { padding: 26px 22px; }
}

/* ── 시공사례 카드 ─────────────────────────────────────── */
.card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--c-bg-soft); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
    position: absolute;
    left: 12px; top: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(22, 32, 43, .72);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
}
.card-body { padding: 16px 18px 20px; }
.card-title { font-size: 1.05rem; margin-bottom: .2em; }
.card-meta { margin: 0; font-size: .9rem; color: var(--c-ink-sub); }

/* ── 카테고리 필터 ─────────────────────────────────────── */
.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter-chip {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    color: var(--c-ink-sub);
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
}
.filter-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ── 비포/애프터 ───────────────────────────────────────── */
.ba-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ba-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.ba-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-label {
    position: absolute;
    left: 12px; top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
}
.ba-label.before { background: rgba(22, 32, 43, .72); }
.ba-label.after { background: var(--c-primary); }

@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ── 사양 표 ───────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table th, .spec-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--c-line);
    text-align: left;
    vertical-align: top;
    font-size: .97rem;
}
.spec-table th {
    width: 34%;
    color: var(--c-ink-sub);
    font-weight: 600;
    background: var(--c-bg-soft);
}
@media (min-width: 768px) { .spec-table th { width: 22%; } }

/* ── 갤러리 ────────────────────────────────────────────── */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery button {
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    overflow: hidden;
    background: none;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* 라이트박스 */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(12, 20, 30, .92);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

/* ── 진행 절차 ─────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
    position: relative;
    padding: 20px 20px 20px 62px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px; top: 20px;
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: .2em; }
.step p { margin: 0; font-size: .93rem; color: var(--c-ink-sub); }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ── FAQ 아코디언 ──────────────────────────────────────── */
.faq { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 18px 4px;
    border: 0;
    background: none;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--c-ink);
}
.faq-q::after {
    content: '';
    flex: 0 0 auto;
    width: 11px; height: 11px;
    border-right: 2px solid var(--c-ink-sub);
    border-bottom: 2px solid var(--c-ink-sub);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .2s ease;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.faq-a { display: none; padding: 0 4px 20px; color: var(--c-ink-sub); }
.faq-a.is-open { display: block; }

/* ── 후기 ──────────────────────────────────────────────── */
.review {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}
.review-stars { color: var(--c-accent); letter-spacing: .1em; font-size: 1rem; }
.review-content { margin: 10px 0 14px; }
.review-author { margin: 0; font-size: .9rem; color: var(--c-ink-sub); }

/* ── 견적 유도 밴드 ────────────────────────────────────── */
.cta-band { background: var(--c-primary); color: #fff; padding: 40px 0; }
.cta-band-inner { display: grid; gap: 20px; }
.cta-band-title { margin: 0 0 4px; font-size: 1.35rem; font-weight: 700; }
.cta-band-sub { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band-actions .btn-primary { background: #fff; color: var(--c-primary); }
.cta-band-actions .btn-primary:hover { background: rgba(255, 255, 255, .88); }
.cta-band-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta-band-actions .btn-outline:hover { background: rgba(255, 255, 255, .14); }

@media (min-width: 768px) {
    .cta-band { padding: 56px 0; }
    .cta-band-inner { grid-template-columns: 1fr auto; align-items: center; }
    .cta-band-title { font-size: 1.6rem; }
}

/* ── 폼 ────────────────────────────────────────────────── */
.form-card {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: 36px 34px; } }

.field { margin-bottom: 24px; }
.field > label, .field-label {
    display: block;
    margin-bottom: 9px;
    font-weight: 600;
    font-size: 1rem;
}
.required { color: var(--c-danger); margin-left: 3px; }

.input, .textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--c-ink);
}
.input:focus, .textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px var(--c-primary-soft); }
.textarea { min-height: 130px; resize: vertical; }
.input.has-error, .textarea.has-error { border-color: var(--c-danger); }

.error-text { margin: 7px 0 0; color: var(--c-danger); font-size: .9rem; font-weight: 500; }
.help-text { margin: 7px 0 0; color: var(--c-ink-sub); font-size: .89rem; }

/* 선택지 버튼(라디오를 버튼처럼) — 타이핑을 줄여 폼 완성률을 올린다 */
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input {
    position: absolute;
    opacity: 0;
    width: 100%; height: 100%;
    margin: 0;
    cursor: pointer;
}
.choice span {
    display: block;
    padding: 12px 18px;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    font-weight: 500;
    transition: all .15s ease;
}
.choice input:checked + span {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    font-weight: 600;
}
.choice input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input[type="checkbox"] { width: 22px; height: 22px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--c-primary); }
.checkbox-row label { font-size: .97rem; }
.checkbox-row a { text-decoration: underline; color: var(--c-primary); }

/* 허니팟 — 화면에서 완전히 숨기되 봇에게는 보이게 */
.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.notice {
    padding: 14px 16px;
    border-left: 3px solid var(--c-accent);
    background: var(--c-bg-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .93rem;
    color: var(--c-ink-sub);
}

/* 즉시 상담 박스 (폼이 부담스러운 고객용) */
.quick-contact {
    padding: 22px 20px;
    background: var(--c-primary-soft);
    border-radius: var(--radius-lg);
}
.quick-contact h3 { font-size: 1.08rem; }
.quick-contact p { font-size: .94rem; color: var(--c-ink-sub); }
.quick-contact .btn { width: 100%; margin-bottom: 8px; }

/* ── 플로팅 버튼 ───────────────────────────────────────── */
.floating {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    /* 헤더(z-index:100)보다 낮아야 한다. 높으면 가로모드에서 열린 모바일 메뉴 위로
       올라와 '오시는길'·'견적문의' 링크를 덮어 탭이 먹지 않는다. */
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.fab {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
    /* 어르신 고객을 위해 본문을 한 단계 키운 사이트인데 이 라벨만 10px 이라 읽기 어렵다. */
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .15s ease;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 21px; height: 21px; fill: currentColor; margin-bottom: 2px; }
.fab-kakao { background: #FEE500; color: #191600; }
.fab-form { background: var(--c-accent); }
.fab-top { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); opacity: 0; pointer-events: none; }
.fab-top.is-visible { opacity: 1; pointer-events: auto; }

@media (min-width: 1024px) { .floating { right: 24px; bottom: 24px; } }

/* ── 푸터 ──────────────────────────────────────────────── */
.site-footer {
    margin-top: 0;
    padding: 44px 0 28px;
    /* 메인 사진의 검정 창호 프레임과 이어지도록 네이비를 살짝 눌러 중성에 가깝게 */
    background: #1F2A36;
    color: rgba(255, 255, 255, .80);
    font-size: .93rem;
}
.footer-top { display: grid; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-name { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-tagline { margin: 0 0 14px; color: rgba(255, 255, 255, .6); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: .87rem;
}
.social-link:hover { background: rgba(255, 255, 255, .1); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
/* 링크 높이가 글자 줄높이(25px)뿐이라 손가락으로 누르기 어렵다. 상하 여백으로 터치 영역을 넓힌다. */
.footer-nav a { display: inline-block; padding: 9px 0; }
.footer-nav a:hover { color: #fff; }

.biz-info {
    display: grid;
    gap: 6px 22px;
    margin: 24px 0;
    font-size: .87rem;
    color: rgba(255, 255, 255, .6);
}
.biz-info div { display: flex; gap: 8px; }
.biz-info dt { flex: 0 0 auto; color: rgba(255, 255, 255, .42); }
.biz-info dd { margin: 0; }

@media (min-width: 768px) {
    .footer-top { grid-template-columns: 1fr auto; align-items: start; }
    .biz-info { grid-template-columns: repeat(2, 1fr); }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }

/* ── 페이지 헤더 (하위 페이지 상단) ───────────────────── */
.page-head {
    padding: 36px 0 30px;
    background: var(--c-bg-soft);
    border-bottom: 1px solid var(--c-line);
}
.page-head h1 { font-size: 1.75rem; margin-bottom: .25em; }
.page-head p { margin: 0; color: var(--c-ink-sub); }
.breadcrumb { margin-bottom: 10px; font-size: .87rem; color: var(--c-ink-mute); }
.breadcrumb a:hover { color: var(--c-primary); }

@media (min-width: 768px) {
    .page-head { padding: 52px 0 44px; }
    .page-head h1 { font-size: 2.3rem; }
}

/* ── 기타 유틸 ─────────────────────────────────────────── */
.empty-state {
    padding: 56px 20px;
    text-align: center;
    color: var(--c-ink-sub);
    background: var(--c-bg-soft);
    border-radius: var(--radius-lg);
}
.placeholder-hint {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: #FFF4D6;
    color: #7A5A00;
    font-size: .85rem;
    font-weight: 600;
}
.lead { font-size: var(--fs-lead); color: var(--c-ink-sub); }
.prose p { margin-bottom: 1.1em; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
