@charset "utf-8";
/* ==========================================================================
   하나재가복지센타 테마 - 공통 스타일 (devcorp 기반, 맨 아래에 하나재가 덮어쓰기)
   theme/hanajeaga/css/style.css

   색상/여백/폰트는 :root 변수만 바꾸면 사이트 전체 톤이 바뀝니다.
   ========================================================================== */

:root {
    /* 브랜드 컬러 */
    --dc-primary:      #1b4dd8;
    --dc-primary-dark: #1339a8;
    --dc-primary-soft: #eef3ff;
    --dc-accent:       #00b8a9;

    /* 뉴트럴 */
    --dc-navy:   #0f1b33;
    --dc-navy-2: #16264a;
    --dc-text:   #1a2233;
    --dc-body:   #4a5568;
    --dc-muted:  #8792a8;
    --dc-line:   #e3e8f0;
    --dc-bg:     #ffffff;
    --dc-bg-alt: #f6f8fc;

    /* 상태 */
    --dc-danger: #d64545;
    --dc-warn:   #e6a23c;
    --dc-ok:     #16a34a;

    /* 형태 */
    --dc-radius:    12px;
    --dc-radius-lg: 20px;
    --dc-shadow:    0 2px 8px rgba(15, 27, 51, .06);
    --dc-shadow-lg: 0 18px 40px rgba(15, 27, 51, .12);

    /* 레이아웃 */
    --dc-max:     1200px;
    --dc-gutter:  24px;
    --dc-header-h: 92px;

    --dc-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--dc-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dc-body);
    background: var(--dc-bg);
    word-break: keep-all;
    -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, h5 { margin: 0; color: var(--dc-text); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--dc-primary); text-decoration: none; }
a:hover { text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

.dc-skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--dc-primary); color: #fff; padding: 10px 18px;
}
.dc-skip:focus { left: 0; }

.dc-inner { max-width: var(--dc-max); margin: 0 auto; padding: 0 var(--dc-gutter); }

/* ==========================================================================
   버튼
   ========================================================================== */
.dc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 8px;
    font-size: 15px; font-weight: 600; letter-spacing: -.01em;
    background: #fff; color: var(--dc-text);
    transition: all .18s ease;
    white-space: nowrap;
}
.dc-btn:hover { transform: translateY(-1px); }
.dc-btn-primary { background: var(--dc-primary); color: #fff; box-shadow: 0 6px 16px rgba(27,77,216,.25); }
.dc-btn-primary:hover { background: var(--dc-primary-dark); }
.dc-btn-line    { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.dc-btn-line:hover { background: rgba(255,255,255,.12); }
.dc-btn-outline { background: #fff; border-color: var(--dc-line); color: var(--dc-text); }
.dc-btn-outline:hover { border-color: var(--dc-primary); color: var(--dc-primary); }
.dc-btn-ghost   { background: transparent; border-color: var(--dc-line); color: var(--dc-body); }
.dc-btn-ghost:hover { border-color: var(--dc-primary); color: var(--dc-primary); }
.dc-btn-sm  { height: 34px; padding: 0 14px; font-size: 13px; }
.dc-btn-lg  { height: 56px; padding: 0 34px; font-size: 17px; }
.dc-btn-block { width: 100%; }

/* ==========================================================================
   헤더 / GNB
   ========================================================================== */
.dc-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--dc-line);
}
.dc-header.scrolled { box-shadow: 0 4px 20px rgba(15,27,51,.08); }
.dc-header-inner {
    display: flex; align-items: center; gap: 28px;
    height: var(--dc-header-h);
}

.dc-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dc-logo-mark {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, var(--dc-primary), var(--dc-accent));
    color: #fff; font-weight: 800; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
}
/* 로고 이미지
   높이는 관리자에서 조절(--dc-logo-h, 기본 76px). 가로는 비율대로 늘어난다.
   가로 상한이 좁으면 object-fit 때문에 높이가 도로 줄어들므로 넉넉히 잡는다. */
.dc-logo-img {
    display: flex; align-items: center; flex-shrink: 0;
    height: var(--dc-logo-h, 76px); max-width: 460px;
}
.dc-logo-img img {
    height: var(--dc-logo-h, 76px);
    max-width: 460px; width: auto; object-fit: contain;
}
/* 값을 크게 잡아도 헤더가 밀리지 않도록 상한을 둔다 */
.dc-header .dc-logo-img,
.dc-header .dc-logo-img img { max-height: calc(var(--dc-header-h) - 8px); }

/* 어두운 푸터에서의 로고 처리 (관리자에서 선택) */

/* 원본 그대로 (기본값) - 배경이 투명한 로고용.
   배경판도 필터도 걸지 않고 푸터 배경색(--dc-navy) 위에 그대로 얹는다. */
.dc-logo-img.foot-plain,
.dc-logo-img.foot-plain img { background: transparent; filter: none; }
.dc-logo-img.foot-plate {                       /* 흰색 배경판 - 배경이 흰색인 로고용 */
    background: #fff; border-radius: 10px;
    padding: 9px 16px; height: auto;
    max-width: 300px;
}
.dc-logo-img.foot-invert img {                  /* 흰색 반전 - 배경이 투명한 어두운 로고용 */
    filter: brightness(0) invert(1); opacity: .92;
}
.dc-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.dc-logo-text strong { font-size: 19px; color: var(--dc-text); letter-spacing: -.03em; }
.dc-logo-text small  { font-size: 11px; color: var(--dc-muted); letter-spacing: -.01em; }

.dc-gnb { flex: 1; }
.dc-gnb-list { display: flex; align-items: center; gap: 4px; }
.dc-gnb-item { position: relative; }
.dc-gnb-link {
    display: block; padding: 0 16px; height: var(--dc-header-h);
    line-height: var(--dc-header-h);
    font-size: 16px; font-weight: 600; color: var(--dc-text);
    position: relative;
}
.dc-gnb-link:hover { color: var(--dc-primary); }
.dc-gnb-item.active > .dc-gnb-link { color: var(--dc-primary); }
.dc-gnb-item.active > .dc-gnb-link::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 18px;
    height: 2px; background: var(--dc-primary); border-radius: 2px;
}
.dc-gnb-link.is-cta {
    color: var(--dc-primary);
}
.dc-gnb-sub {
    position: absolute; top: calc(var(--dc-header-h) - 12px); left: 0;
    min-width: 180px; padding: 8px;
    background: #fff; border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius); box-shadow: var(--dc-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all .18s ease;
}
.dc-gnb-item:hover .dc-gnb-sub,
.dc-gnb-item:focus-within .dc-gnb-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.dc-gnb-sub a {
    display: block; padding: 9px 14px; border-radius: 8px;
    font-size: 14px; color: var(--dc-body); font-weight: 500;
}
.dc-gnb-sub a:hover { background: var(--dc-primary-soft); color: var(--dc-primary); }

.dc-header-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dc-header-tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.dc-header-tel-label { font-size: 11px; color: var(--dc-muted); }
.dc-header-tel strong { font-size: 18px; color: var(--dc-text); letter-spacing: -.02em; }

.dc-burger {
    display: none; width: 42px; height: 42px; padding: 0;
    background: none; border: 1px solid var(--dc-line); border-radius: 8px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.dc-burger span { display: block; width: 18px; height: 2px; background: var(--dc-text); border-radius: 2px; transition: .2s; }
.dc-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dc-burger.open span:nth-child(2) { opacity: 0; }
.dc-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.dc-mobile {
    position: fixed; inset: var(--dc-header-h) 0 0 0; z-index: 99;
    background: #fff; overflow-y: auto; padding: 20px var(--dc-gutter) 40px;
}
.dc-mobile[hidden] { display: none; }
.dc-mobile-group { border-bottom: 1px solid var(--dc-line); padding: 6px 0; }
.dc-mobile-link { display: block; padding: 12px 4px; font-size: 17px; font-weight: 700; color: var(--dc-text); }
.dc-mobile-sub { padding: 0 4px 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.dc-mobile-sub a {
    padding: 6px 12px; background: var(--dc-bg-alt); border-radius: 20px;
    font-size: 14px; color: var(--dc-body);
}
.dc-mobile-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dc-mobile-mini { font-size: 13px; color: var(--dc-muted); }

/* ==========================================================================
   서브페이지 히어로 / 브레드크럼
   ========================================================================== */
.dc-pagehero {
    background: linear-gradient(120deg, var(--dc-navy) 0%, var(--dc-navy-2) 55%, #1e3a7a 100%);
    color: #fff; padding: 62px 0 54px; text-align: center;
}
.dc-pagehero-title { font-size: 38px; color: #fff; letter-spacing: -.035em; }
.dc-pagehero-sub { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 16px; }
.dc-breadcrumb {
    margin-top: 20px; display: flex; justify-content: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.55);
}
.dc-breadcrumb a { color: rgba(255,255,255,.7); }
.dc-breadcrumb strong { color: #fff; font-weight: 600; }

.dc-main { min-height: 400px; }
.dc-page { padding: 64px 0 90px; }

/* ==========================================================================
   섹션 공통
   ========================================================================== */
.dc-section { padding: 96px 0; }
.dc-section.alt { background: var(--dc-bg-alt); }
.dc-section.dark { background: var(--dc-navy); color: rgba(255,255,255,.72); }
.dc-section.dark h2, .dc-section.dark h3 { color: #fff; }

.dc-sec-head { text-align: center; margin-bottom: 52px; }
.dc-sec-head.left { text-align: left; }
.dc-eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 5px 14px;
    background: var(--dc-primary-soft); color: var(--dc-primary);
    border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.dc-section.dark .dc-eyebrow { background: rgba(255,255,255,.1); color: #7fb0ff; }
.dc-sec-title { font-size: 34px; letter-spacing: -.035em; }
.dc-sec-desc { margin-top: 14px; font-size: 17px; color: var(--dc-body); }
.dc-section.dark .dc-sec-desc { color: rgba(255,255,255,.66); }

.dc-grid { display: grid; gap: 24px; }
.dc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dc-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   메인 히어로
   ========================================================================== */
.dc-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(125deg, #0f1b33 0%, #16264a 45%, #1c3f8f 100%);
    color: #fff; padding: 110px 0 96px;
}
.dc-hero::after {
    content: ''; position: absolute; right: -140px; top: -120px;
    width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0,184,169,.30), transparent 62%);
    pointer-events: none;
}
.dc-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.dc-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; margin-bottom: 26px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px; font-size: 14px; color: rgba(255,255,255,.9);
}
.dc-hero-title {
    font-size: 54px; line-height: 1.25; color: #fff; letter-spacing: -.045em;
}
.dc-hero-desc {
    margin-top: 24px; font-size: 19px; line-height: 1.75;
    color: rgba(255,255,255,.76); max-width: 660px;
}
.dc-hero-desc strong { color: #fff; font-weight: 700; }
.dc-hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.dc-hero-keys {
    margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px;
}
.dc-hero-keys span {
    padding: 8px 16px; border-radius: 30px; font-size: 14px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
}

/* 실적 카운터 */
.dc-stats { background: var(--dc-navy-2); color: #fff; padding: 0; }
.dc-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,.1);
}
.dc-stat { padding: 40px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.dc-stat:last-child { border-right: 0; }
.dc-stat-value { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1.1; }
.dc-stat-value span { font-size: 22px; margin-left: 2px; color: var(--dc-accent); }
.dc-stat-label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ==========================================================================
   서비스 카드
   ========================================================================== */
.dc-card {
    background: #fff; border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius-lg); padding: 34px 30px;
    transition: all .22s ease;
}
.dc-card:hover { border-color: var(--dc-primary); box-shadow: var(--dc-shadow-lg); transform: translateY(-4px); }
.dc-card-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--dc-primary-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 27px; margin-bottom: 20px;
}
.dc-card-num {
    font-size: 13px; font-weight: 700; letter-spacing: .1em;
    color: var(--dc-muted); margin-bottom: 18px;
    padding-bottom: 14px; border-bottom: 1px solid var(--dc-line);
    font-variant-numeric: tabular-nums;
}
.dc-card:hover .dc-card-num { color: var(--dc-primary); border-color: var(--dc-primary); }
.dc-card-title { font-size: 21px; margin-bottom: 8px; }
.dc-card-lead { font-size: 15px; color: var(--dc-primary); font-weight: 600; margin-bottom: 12px; }
.dc-card-desc { font-size: 15px; line-height: 1.75; color: var(--dc-body); }
.dc-card-list { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--dc-line); }
.dc-card-list li {
    position: relative; padding-left: 18px; font-size: 14.5px;
    color: var(--dc-body); line-height: 1.9;
}
.dc-card-list li::before {
    content: ''; position: absolute; left: 2px; top: 13px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--dc-accent);
}
.dc-card-more { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; }

/* ==========================================================================
   자체 솔루션 (메인 카드) — 아이콘 없이 번호와 여백으로 정돈
   ========================================================================== */
.dc-sol {
    position: relative; background: #fff;
    border: 1px solid var(--dc-line); border-radius: var(--dc-radius-lg);
    padding: 30px 28px 28px; display: flex; flex-direction: column;
    transition: all .22s ease;
}
.dc-sol:hover { border-color: var(--dc-text); box-shadow: var(--dc-shadow-lg); transform: translateY(-4px); }
.dc-sol.featured { border-color: var(--dc-text); }

.dc-sol-head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--dc-line);
}
.dc-sol-no {
    font-size: 13px; font-weight: 700; letter-spacing: .1em;
    color: var(--dc-muted); font-variant-numeric: tabular-nums;
}
.dc-sol:hover .dc-sol-no { color: var(--dc-primary); }

/* 대표 제품 표시 — 채운 배지가 아니라 가는 선 라벨 */
.dc-sol-flag {
    display: inline-block; margin-left: auto;
    padding: 2px 10px; border: 1px solid var(--dc-text); border-radius: 20px;
    font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--dc-text);
    white-space: nowrap;
}

.dc-sol-name { font-size: 21px; letter-spacing: -.03em; }
.dc-sol-tagline { font-size: 14px; color: var(--dc-primary); font-weight: 600; margin-top: 4px; }
.dc-sol-desc { margin-top: 14px; font-size: 14.5px; line-height: 1.8; color: var(--dc-body); }
.dc-sol .dc-card-list { flex: 1; }
.dc-sol-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--dc-line); }
.dc-sol-for { display: block; font-size: 13px; color: var(--dc-muted); margin-bottom: 8px; }

/* 솔루션 소개 페이지 — 제목 옆 라벨 / '이런 곳에 맞습니다' 줄 */
.dc-svc-title .dc-sol-flag { margin-left: 10px; vertical-align: 7px; }
.dc-sol-fit {
    margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--dc-line);
    max-width: 62ch;
}
.dc-sol-fit span {
    display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
    color: var(--dc-muted); text-transform: uppercase; margin-bottom: 5px;
}
.dc-sol-fit strong { font-size: 16px; color: var(--dc-text); font-weight: 600; }

/* ==========================================================================
   구축사례 분류 탭
   ========================================================================== */
.dc-cattabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dc-cattab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 18px; border: 1px solid var(--dc-line); border-radius: 30px;
    background: #fff; font-size: 15px; font-weight: 600; color: var(--dc-body);
    transition: all .16s ease;
}
.dc-cattab:hover { border-color: var(--dc-primary); color: var(--dc-primary); }
.dc-cattab span {
    font-size: 12px; font-weight: 700; color: var(--dc-muted);
    background: var(--dc-bg-alt); border-radius: 20px; padding: 1px 8px;
}
.dc-cattab.active { background: var(--dc-primary); border-color: var(--dc-primary); color: #fff; }
.dc-cattab.active span { background: rgba(255,255,255,.22); color: #fff; }
.dc-cattab-desc { margin-bottom: 32px; font-size: 15px; color: var(--dc-muted); }

/* ==========================================================================
   서비스 페이지 — 아이콘 없이 번호와 여백으로 정돈한 편집형 레이아웃
   ========================================================================== */
.dc-svc {
    display: grid; grid-template-columns: 132px 1fr; gap: 0 40px;
    padding: 56px 0;
    border-top: 1px solid var(--dc-line);
}
.dc-svc:first-of-type { border-top: 1px solid var(--dc-text); }

.dc-svc-index { display: flex; flex-direction: column; align-items: flex-start; }
.dc-svc-num {
    font-size: 46px; font-weight: 200; line-height: 1;
    color: var(--dc-text); letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}
.dc-svc-rule {
    display: block; width: 34px; height: 1px;
    background: var(--dc-accent); margin-top: 18px;
}

.dc-svc-title {
    font-size: 30px; letter-spacing: -.04em; line-height: 1.3;
}
.dc-svc-lead {
    margin-top: 12px; font-size: 17px; font-weight: 500;
    color: var(--dc-primary); letter-spacing: -.02em;
}
.dc-svc-desc {
    margin-top: 16px; font-size: 16px; line-height: 1.9; color: var(--dc-body);
    max-width: 62ch;
}

.dc-svc-items { margin-top: 30px; }
.dc-svc-items-label {
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    color: var(--dc-muted); text-transform: uppercase; margin-bottom: 14px;
}
.dc-svc-items ul {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px;
}
.dc-svc-items li {
    position: relative; padding: 9px 0 9px 15px;
    font-size: 15px; color: var(--dc-body); line-height: 1.6;
    border-bottom: 1px solid var(--dc-line);
}
.dc-svc-items li::before {
    content: ''; position: absolute; left: 0; top: 18px;
    width: 5px; height: 1px; background: var(--dc-muted);
}

.dc-svc-actions { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }

/* 어두운 아웃라인 버튼 (서비스 페이지의 절제된 톤용) */
.dc-btn-line-dark {
    background: transparent; border-color: var(--dc-text); color: var(--dc-text);
}
.dc-btn-line-dark:hover { background: var(--dc-text); color: #fff; }

/* 서비스 페이지의 AI 활용 안내 한 줄 (아이콘 없이 텍스트만) */
.dc-ainote {
    margin-top: 26px; padding: 4px 0 4px 18px;
    border-left: 2px solid var(--dc-accent);
    font-size: 14.5px; line-height: 1.85; color: var(--dc-muted);
    max-width: 62ch;
}
.dc-ainote strong { color: var(--dc-body); font-weight: 600; }
.dc-ainote.lead {
    margin: 0 0 8px; padding: 6px 0 6px 20px;
    border-left-color: var(--dc-primary);
    font-size: 16px; color: var(--dc-body); max-width: 76ch;
}
.dc-ainote.lead strong { color: var(--dc-text); }

/* 문제-해결 (pains) */
.dc-pain {
    background: #fff; border: 1px solid var(--dc-line); border-radius: var(--dc-radius);
    padding: 26px 24px;
}
.dc-pain-q {
    font-size: 17px; font-weight: 700; color: var(--dc-text);
    display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px;
}
.dc-pain-q b { color: var(--dc-danger); font-weight: 800; flex-shrink: 0; }
.dc-pain-a {
    font-size: 15px; color: var(--dc-body); display: flex; gap: 10px; align-items: flex-start;
    padding-top: 12px; border-top: 1px dashed var(--dc-line);
}
.dc-pain-a b { color: var(--dc-primary); font-weight: 800; flex-shrink: 0; }

/* ==========================================================================
   프로세스
   ========================================================================== */
.dc-process { counter-reset: step; }
.dc-process-item {
    display: grid; grid-template-columns: 92px 1fr 110px; gap: 24px; align-items: start;
    padding: 28px 0; border-bottom: 1px solid var(--dc-line);
}
.dc-process-item:last-child { border-bottom: 0; }
.dc-process-step {
    font-size: 34px; font-weight: 800; color: var(--dc-primary);
    opacity: .35; letter-spacing: -.04em; line-height: 1;
}
.dc-process-title { font-size: 20px; margin-bottom: 6px; }
.dc-process-desc { font-size: 15px; color: var(--dc-body); }
.dc-process-term {
    justify-self: end; padding: 5px 14px; border-radius: 20px;
    background: var(--dc-bg-alt); border: 1px solid var(--dc-line);
    font-size: 13px; color: var(--dc-muted); white-space: nowrap;
}

/* ==========================================================================
   요금제
   ========================================================================== */
.dc-plan {
    position: relative; background: #fff;
    border: 1px solid var(--dc-line); border-radius: var(--dc-radius-lg);
    padding: 36px 30px; display: flex; flex-direction: column;
}
.dc-plan.featured {
    border-color: var(--dc-primary); border-width: 2px;
    box-shadow: var(--dc-shadow-lg); transform: translateY(-8px);
}
.dc-plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--dc-primary); color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 16px; border-radius: 20px; white-space: nowrap;
}
.dc-plan-name { font-size: 22px; }
.dc-plan-target { font-size: 14px; color: var(--dc-muted); margin-top: 4px; }
.dc-plan-price {
    margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid var(--dc-line);
    font-size: 40px; font-weight: 800; color: var(--dc-text); letter-spacing: -.04em; line-height: 1.1;
}
.dc-plan-price small { font-size: 15px; font-weight: 600; color: var(--dc-muted); margin-left: 4px; letter-spacing: 0; }
.dc-plan-price.negotiable { font-size: 28px; }
.dc-plan-features { flex: 1; }
.dc-plan-features li {
    position: relative; padding-left: 24px; font-size: 14.5px; line-height: 2;
    color: var(--dc-body);
}
.dc-plan-features li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: var(--dc-primary); font-weight: 800;
}
.dc-plan .dc-btn { margin-top: 26px; }
.dc-plan-note {
    margin-top: 28px; padding: 20px 24px; background: var(--dc-bg-alt);
    border-radius: var(--dc-radius); font-size: 14px; color: var(--dc-body); line-height: 1.9;
}

/* ==========================================================================
   기술 스택 / 표
   ========================================================================== */
.dc-stack-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--dc-line); align-items: center; }
.dc-stack-row:last-child { border-bottom: 0; }
.dc-stack-label { font-weight: 700; color: var(--dc-text); }
.dc-stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-stack-tags span {
    padding: 6px 14px; background: #fff; border: 1px solid var(--dc-line);
    border-radius: 8px; font-size: 14px; color: var(--dc-body); font-weight: 500;
}

.dc-table th, .dc-table td { padding: 14px 16px; border-bottom: 1px solid var(--dc-line); font-size: 15px; text-align: left; }
.dc-table th { background: var(--dc-bg-alt); color: var(--dc-text); font-weight: 700; white-space: nowrap; }
.dc-table tbody tr:hover { background: #fbfcfe; }

/* ==========================================================================
   최신 소식 / 사례 카드
   ========================================================================== */
.dc-news-item {
    display: block; padding: 22px 0; border-bottom: 1px solid var(--dc-line);
}
.dc-news-item:last-child { border-bottom: 0; }
.dc-news-cat { font-size: 12px; font-weight: 700; color: var(--dc-primary); }
.dc-news-title {
    display: block; margin: 4px 0 6px; font-size: 17px; font-weight: 600; color: var(--dc-text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dc-news-item:hover .dc-news-title { color: var(--dc-primary); }
.dc-news-date { font-size: 13px; color: var(--dc-muted); }
.dc-empty {
    padding: 44px 20px; text-align: center; color: var(--dc-muted); font-size: 15px;
    background: var(--dc-bg-alt); border-radius: var(--dc-radius);
}

.dc-case {
    display: block; background: #fff; border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius); overflow: hidden; transition: all .22s ease;
}
.dc-case:hover { box-shadow: var(--dc-shadow-lg); transform: translateY(-4px); }
.dc-case-thumb {
    aspect-ratio: 16 / 10; background: var(--dc-bg-alt);
    display: flex; align-items: center; justify-content: center;
    color: var(--dc-muted); font-size: 34px; overflow: hidden;
}
.dc-case-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 첨부 이미지가 없는 사례용 자동 플레이스홀더 (제목 기준 고정 배색) */
.dc-case-ph {
    position: relative; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.dc-case-ph::after {
    content: ''; position: absolute; right: -30%; top: -55%;
    width: 100%; padding-bottom: 100%; border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.dc-case-ph-mark {
    position: relative; z-index: 1;
    font-size: 62px; font-weight: 800; color: #fff;
    opacity: .32; letter-spacing: -.04em; line-height: 1;
}
.dc-case-ph.ph-0 { background: linear-gradient(135deg, #0f1b33 0%, #1c3f8f 100%); }
.dc-case-ph.ph-1 { background: linear-gradient(135deg, #16264a 0%, #1b4dd8 100%); }
.dc-case-ph.ph-2 { background: linear-gradient(135deg, #113a52 0%, #00b8a9 130%); }
.dc-case-ph.ph-3 { background: linear-gradient(135deg, #1b3a8f 0%, #5b3fc4 100%); }
.dc-case-body { padding: 20px 22px; }
.dc-case-cat { font-size: 12px; font-weight: 700; color: var(--dc-accent); }
.dc-case-title { margin-top: 6px; font-size: 17px; color: var(--dc-text); }
/* 목록에서 클릭 시 외부 사이트로 이동하는 항목 표시 */
.dc-ext { color: var(--dc-primary); font-size: 14px; margin-left: 3px; vertical-align: 2px; }

/* ==========================================================================
   폼 (문의하기)
   ========================================================================== */
.dc-form { display: grid; gap: 20px; }
.dc-form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dc-field { display: flex; flex-direction: column; gap: 8px; }
.dc-label { font-size: 14px; font-weight: 700; color: var(--dc-text); }
.dc-label .req { color: var(--dc-danger); margin-left: 3px; }
.dc-input, .dc-select, .dc-textarea {
    width: 100%; padding: 13px 15px;
    border: 1px solid var(--dc-line); border-radius: 8px;
    font-family: inherit; font-size: 15px; color: var(--dc-text); background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.dc-input:focus, .dc-select:focus, .dc-textarea:focus {
    outline: none; border-color: var(--dc-primary);
    box-shadow: 0 0 0 3px rgba(27,77,216,.12);
}
.dc-textarea { min-height: 190px; resize: vertical; line-height: 1.7; }
.dc-hint { font-size: 13px; color: var(--dc-muted); }
.dc-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--dc-body); }
.dc-check input { margin-top: 4px; }
.dc-agree-box {
    max-height: 160px; overflow-y: auto; padding: 16px 18px;
    background: var(--dc-bg-alt); border: 1px solid var(--dc-line); border-radius: 8px;
    font-size: 13px; line-height: 1.8; color: var(--dc-body);
}
.dc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dc-alert { padding: 16px 20px; border-radius: var(--dc-radius); font-size: 15px; margin-bottom: 24px; }
.dc-alert-error { background: #fdf0f0; border: 1px solid #f5c6c6; color: #a53434; }
.dc-alert-ok    { background: #eefaf3; border: 1px solid #bfe8d1; color: #1b7a45; }

.dc-contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.dc-contact-box {
    background: var(--dc-bg-alt); border-radius: var(--dc-radius-lg); padding: 30px 28px;
}
.dc-contact-box + .dc-contact-box { margin-top: 20px; }
.dc-contact-box h3 { font-size: 18px; margin-bottom: 16px; }
.dc-contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--dc-line); font-size: 15px; }
.dc-contact-list li:last-child { border-bottom: 0; }
.dc-contact-list b { display: block; font-size: 13px; color: var(--dc-muted); font-weight: 600; margin-bottom: 2px; }

/* ==========================================================================
   로그인 / 회원가입 (코어 bbs/login.php · register.php 가 쓰는 bp-* 클래스)

   이 화면들은 테마와 무관하게 코어가 출력하므로, 테마 쪽에서 스타일을 맞춰준다.
   ========================================================================== */
.bp-auth-box {
    max-width: 460px; margin: 0 auto;
    background: #fff; border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius-lg); padding: 40px 36px;
    box-shadow: var(--dc-shadow);
}
.bp-auth-box h2 {
    font-size: 24px; text-align: center; margin-bottom: 28px;
    letter-spacing: -.03em;
}
.bp-auth-form { display: flex; flex-direction: column; gap: 18px; }
.bp-form-group { display: flex; flex-direction: column; gap: 7px; }
.bp-form-label { font-size: 14px; font-weight: 700; color: var(--dc-text); }
.bp-required { color: var(--dc-danger); margin-left: 3px; }
.bp-form-input {
    width: 100%; padding: 13px 15px;
    border: 1px solid var(--dc-line); border-radius: 8px;
    font-family: inherit; font-size: 15px; color: var(--dc-text); background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.bp-form-input:focus {
    outline: none; border-color: var(--dc-primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 216, .12);
}

/* 코어 버튼 클래스 → 테마 버튼과 동일하게 */
.bp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 48px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 8px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    background: #fff; color: var(--dc-text); cursor: pointer;
    transition: all .18s ease;
}
.bp-btn-primary { background: var(--dc-primary); color: #fff; box-shadow: 0 6px 16px rgba(27,77,216,.25); }
.bp-btn-primary:hover { background: var(--dc-primary-dark); }
.bp-btn-block { width: 100%; }

.auth-link {
    margin-top: 6px; text-align: center;
    font-size: 14px; color: var(--dc-muted);
}

/* 회원가입 약관 동의 영역 */
.bp-agree-box { max-width: 620px; }
.bp-agree-intro { font-size: 14px; color: var(--dc-body); margin-bottom: 18px; line-height: 1.7; }
.bp-agree-item { border: 1px solid var(--dc-line); border-radius: var(--dc-radius); margin-bottom: 14px; overflow: hidden; }
.bp-agree-item-header {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 13px 16px; background: var(--dc-bg-alt);
    font-size: 14.5px; font-weight: 600; color: var(--dc-text);
}
.bp-agree-required { color: var(--dc-danger); font-size: 13px; font-weight: 700; }
.bp-agree-toggle {
    margin-left: auto; background: none; border: 0; padding: 0;
    font-size: 13px; color: var(--dc-muted); font-family: inherit; cursor: pointer;
}
.bp-agree-toggle:hover { color: var(--dc-primary); }
.bp-agree-scroll {
    max-height: 180px; overflow-y: auto; padding: 16px;
    font-size: 13px; line-height: 1.8; color: var(--dc-body);
    border-top: 1px solid var(--dc-line); background: #fff;
}
.bp-agree-content { white-space: pre-wrap; }
.bp-agree-all {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 16px; margin: 18px 0;
    background: var(--dc-primary-soft); border-radius: var(--dc-radius);
    font-size: 15px; font-weight: 600; color: var(--dc-text);
}
.bp-check-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.bp-check-text { font-size: 14.5px; color: var(--dc-body); }
.agree-check { flex-shrink: 0; }

@media (max-width: 768px) {
    .bp-auth-box { padding: 28px 20px; }
}

/* ==========================================================================
   푸터
   ========================================================================== */
.dc-footcta {
    background: linear-gradient(120deg, var(--dc-primary) 0%, #2c62e8 60%, var(--dc-accent) 160%);
    color: #fff; padding: 58px 0;
}
.dc-footcta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.dc-footcta h2 { font-size: 28px; color: #fff; letter-spacing: -.035em; }
.dc-footcta p { margin-top: 8px; color: rgba(255,255,255,.82); font-size: 16px; }
.dc-footcta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dc-footcta .dc-btn-primary { background: #fff; color: var(--dc-primary); box-shadow: none; }
.dc-footcta .dc-btn-primary:hover { background: #f0f4ff; }

.dc-footer { background: var(--dc-navy); color: rgba(255,255,255,.6); padding: 62px 0 34px; font-size: 14px; }
.dc-footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
/* 푸터는 가로 여유가 있어 헤더보다 넓게 허용한다 (높이는 PHP 에서 1.3배) */
.dc-logo-foot .dc-logo-img,
.dc-logo-foot .dc-logo-img img { max-width: 400px; }
.dc-logo-foot .dc-logo-text strong { color: #fff; }
.dc-logo-foot .dc-logo-text small  { color: rgba(255,255,255,.45); }
.dc-footer-desc { margin-top: 14px; color: rgba(255,255,255,.5); }
.dc-footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.dc-footer-col h3 { font-size: 15px; margin-bottom: 12px; }
.dc-footer-col h3 a { color: #fff; }
.dc-footer-col li { line-height: 2; }
.dc-footer-col a { color: rgba(255,255,255,.55); font-size: 14px; }
.dc-footer-col a:hover { color: #fff; }

.dc-footer-info { padding-top: 28px; }
.dc-footer-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; color: rgba(255,255,255,.5); font-size: 13.5px; }
.dc-footer-meta li span { color: rgba(255,255,255,.32); margin-right: 8px; }
.dc-footer-meta a { color: rgba(255,255,255,.62); }
.dc-footer-meta .dc-break { flex-basis: 100%; }
.dc-footer-bottom {
    margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.dc-copy { color: rgba(255,255,255,.38); font-size: 13px; }
.dc-footer-links { display: flex; gap: 18px; }
.dc-footer-links a { color: rgba(255,255,255,.5); font-size: 13px; }
.dc-footer-links a:hover { color: #fff; }

.dc-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--dc-navy); color: #fff; border: 0; font-size: 18px;
    box-shadow: var(--dc-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s ease;
}
.dc-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   본문 콘텐츠(정적 페이지 공통 타이포)
   ========================================================================== */
.dc-prose h2 { font-size: 26px; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--dc-text); }
.dc-prose h2:first-child { margin-top: 0; }
.dc-prose h3 { font-size: 19px; margin: 30px 0 10px; }
.dc-prose p  { margin: 12px 0; font-size: 16px; line-height: 1.9; }
.dc-prose ul { margin: 12px 0; }
.dc-prose ul li { position: relative; padding-left: 18px; line-height: 1.95; }
.dc-prose ul li::before { content: ''; position: absolute; left: 3px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--dc-primary); }
.dc-prose ol { margin: 12px 0; padding-left: 22px; list-style: decimal; }
.dc-prose ol li { line-height: 1.95; }
.dc-prose strong { color: var(--dc-text); }

.dc-narrow { max-width: 860px; margin: 0 auto; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1024px) {
    .dc-gnb, .dc-header-tel { display: none; }
    /* GNB 가 사라지면 오른쪽으로 밀어줄 요소가 없어진다 → 햄버거를 우측 끝에 고정 */
    .dc-header-side { margin-left: auto; }
    /* 관리자·로그아웃 버튼은 모바일 메뉴 하단에 이미 있으므로 헤더에서는 숨긴다 */
    .dc-header-side .dc-btn { display: none; }
    .dc-burger { display: flex; }
    .dc-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .dc-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .dc-contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .dc-hero-title { font-size: 42px; }
    .dc-plan.featured { transform: none; }
}

@media (max-width: 768px) {
    :root { --dc-header-h: 70px; --dc-gutter: 18px; }
    body { font-size: 15px; }

    /* 좁은 화면(360~390px)에서 로고가 햄버거 버튼을 화면 밖으로 밀어내지 않도록.
       로고는 줄어들 수 있게 하고, 슬로건은 생략한다. */
    .dc-header-inner { gap: 12px; }
    .dc-logo { min-width: 0; flex-shrink: 1; }
    .dc-logo-text { min-width: 0; }
    .dc-logo-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dc-logo-text small { display: none; }
    .dc-logo-img { max-width: min(230px, 52vw); }
    .dc-logo-img img { max-width: min(230px, 52vw); }
    /* 푸터는 햄버거 버튼과 겹칠 일이 없으니 좁은 화면에서도 넉넉히 */
    .dc-logo-foot .dc-logo-img,
    .dc-logo-foot .dc-logo-img img { max-width: min(300px, 72vw); }

    .dc-section { padding: 62px 0; }
    .dc-page { padding: 44px 0 64px; }
    .dc-grid-2, .dc-grid-3, .dc-grid-4 { grid-template-columns: 1fr; }
    .dc-hero { padding: 68px 0 60px; }
    .dc-hero-title { font-size: 32px; }
    .dc-hero-desc { font-size: 16px; }
    .dc-hero-actions .dc-btn { flex: 1; }
    .dc-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-stat { padding: 26px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .dc-stat:nth-child(2n) { border-right: 0; }
    .dc-stat-value { font-size: 32px; }
    .dc-sec-title { font-size: 25px; }
    .dc-sec-desc { font-size: 15px; }
    .dc-pagehero { padding: 40px 0 34px; }
    .dc-pagehero-title { font-size: 26px; }
    .dc-process-item { grid-template-columns: 56px 1fr; }
    .dc-process-term { grid-column: 2; justify-self: start; margin-top: 8px; }
    .dc-process-step { font-size: 26px; }
    .dc-form-row { grid-template-columns: 1fr; gap: 20px; }
    .dc-svc { grid-template-columns: 1fr; gap: 0; padding: 38px 0; }
    .dc-svc-index { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 14px; }
    .dc-svc-num { font-size: 30px; }
    .dc-svc-rule { margin-top: 0; }
    .dc-svc-title { font-size: 23px; }
    .dc-svc-lead { font-size: 15.5px; }
    .dc-svc-desc { font-size: 15px; }
    .dc-svc-items ul { grid-template-columns: 1fr; }
    .dc-svc-actions .dc-btn { flex: 1; }
    .dc-cattab { padding: 8px 14px; font-size: 14px; }
    .dc-footcta-inner { flex-direction: column; align-items: flex-start; }
    .dc-footcta-actions { width: 100%; }
    .dc-footcta-actions .dc-btn { flex: 1; }
    .dc-footer-nav { gap: 28px; }
    .dc-stack-row { grid-template-columns: 1fr; gap: 10px; }
    .dc-top { right: 14px; bottom: 14px; }
}

/* =========================================================
   OPEN EVENT 배너 (inc/section-event.php)
   프로모션 종료 시 site.config.php 의 event.enabled 를 false 로
   ========================================================= */
.dc-event {
    background: linear-gradient(135deg, var(--dc-navy) 0%, var(--dc-navy-2) 100%);
    padding: 56px 0;
    color: #fff;
}
.dc-event-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
}
.dc-event-label {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #ffd66b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}
.dc-event-title {
    margin: 18px 0 10px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.dc-event-title em {
    font-style: normal;
    color: #ffd66b;
}
.dc-event-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, .82);
}
.dc-event-sub s {
    margin-left: 8px;
    color: rgba(255, 255, 255, .45);
}
.dc-event-remain {
    margin-top: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
}
.dc-event-remain b {
    color: #ffd66b;
    font-size: 20px;
}
.dc-event-side {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--dc-radius-lg);
    padding: 26px;
}
.dc-event-terms {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.dc-event-terms li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}
.dc-event-terms li::before {
    content: '·';
    position: absolute;
    left: 4px;
}
.dc-event-terms li b {
    color: #fff;
}
@media (max-width: 1024px) {
    .dc-event-inner { grid-template-columns: 1fr; gap: 28px; }
    .dc-event-title { font-size: 34px; }
}
@media (max-width: 768px) {
    .dc-event { padding: 40px 0; }
    .dc-event-title { font-size: 27px; }
    .dc-event-sub { font-size: 15px; }
    .dc-event-sub s { display: block; margin: 6px 0 0; }
    .dc-event-side { padding: 20px; }
}

/* 이벤트 배너 - 제작비 표시 (정상가 / 적용 기준) */
.dc-event-head {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}
.dc-event-head s {
    margin-left: 8px;
    font-weight: 400;
    color: rgba(255, 255, 255, .4);
}
.dc-event-basis {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffd66b;
}

/* =========================================================================
   메인 재구성 · 증거 중심 구성 (2026-09 작업지시서)
   ─────────────────────────────────────────────────────────────────────────
   이 블록이 위쪽의 기존 스타일을 덮어씁니다.
   :root 변수를 다시 선언하므로 하위 페이지의 버튼 · 표 색도 함께 맞춰집니다.

   규칙 (지시서 4장)
   · 모서리 0 / 그림자 없음
   · 캡션 #6f746f 보다 밝은 회색은 쓰지 않는다 (흰 배경 대비 4.5:1 유지)
   · 초록 #0f6b52 은 버튼 · 링크 · "포함" 표시에만
   · 주황 #b4441f 은 가격 조건 · 주의 문구에만 (할인 강조에 쓰지 않는다)
   ========================================================================= */

:root {
    /* 기존 테마 변수 (하위 페이지 공용) */
    --dc-primary:      #0f6b52;
    --dc-primary-dark: #0a4a39;
    --dc-primary-soft: #f3f7f5;
    --dc-accent:       #0f6b52;
    --dc-navy:   #14181c;
    --dc-navy-2: #1e2328;
    --dc-text:   #14181c;
    --dc-body:   #4e5451;
    --dc-muted:  #6f746f;
    --dc-line:   #e8e5de;
    --dc-bg:     #ffffff;
    --dc-bg-alt: #fafaf8;
    --dc-radius:    0;
    --dc-radius-lg: 0;
    --dc-shadow:    none;
    --dc-shadow-lg: none;
    --dc-max:      1280px;
    --dc-gutter:   clamp(20px, 4vw, 64px);
    --dc-header-h: 52px;
    --dc-font: 'Gothic A1', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

    /* 메인 디자인 토큰 */
    --m-ink:       #14181c;
    --m-body:      #4e5451;
    --m-cap:       #6f746f;
    --m-off:       #676c67;
    --m-go:        #0f6b52;
    --m-go-dark:   #0a4a39;
    --m-cond:      #b4441f;
    --m-bg:        #ffffff;
    --m-alt:       #fafaf8;
    --m-img:       #efece5;
    --m-line:      #e8e5de;
    --m-line-soft: #f2efe9;
    --m-feat:      #f3f7f5;
    --m-pad-x:     clamp(20px, 4vw, 64px);
    --m-pad-y:     clamp(56px, 6.5vw, 100px);
}

body {
    font-family: var(--dc-font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--m-body);
    background: var(--m-bg);
    word-break: keep-all;
}

/* 모서리 · 그림자 제거 */
.dc-header, .dc-gnb-sub, .dc-plan, .dc-case, .dc-svc, .dc-sol, .dc-pain,
.dc-card, .dc-btn, .dc-table, .dc-empty, .dc-input, .dc-select, .dc-textarea {
    box-shadow: none !important;
    border-radius: 0 !important;
}

.dcm-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}


/* ── 3.1 상단 정보 띠 ─────────────────────────────────────────────────── */
.dcm-topbar { background: var(--m-ink); color: #e8e6e0; font-size: 13px; line-height: 1.5; }
.dcm-topbar-inner {
    max-width: var(--dc-max); margin: 0 auto;
    padding: 11px var(--m-pad-x);
    display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
}
.dcm-topbar-badges { display: flex; flex-wrap: wrap; gap: 4px 21px; margin: 0; padding: 0; list-style: none; }
.dcm-topbar-badges li { position: relative; }
.dcm-topbar-badges li + li::before {
    content: ''; position: absolute; left: -11px; top: 50%;
    width: 1px; height: 11px; background: rgba(232, 230, 224, .32); transform: translateY(-50%);
}
.dcm-topbar-badges li.is-strong { color: #8fb9ab; font-weight: 700; }
.dcm-topbar-side { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.dcm-topbar-side a {
    color: #e8e6e0; font-weight: 700;
    text-decoration: underline; text-underline-offset: 3px;
    padding: 14px 0; margin: -14px 0;               /* 띠 높이는 그대로, 누르는 영역만 48px */
}


/* ── 3.2 헤더 ─────────────────────────────────────────────────────────── */
.dc-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--m-line);
}
.dc-header.scrolled { box-shadow: none; }
.dc-header-inner {
    height: auto; gap: 24px;
    padding-top: 20px; padding-bottom: 20px;
    transition: padding .2s ease;
}
.dc-header.is-compact .dc-header-inner { padding-top: 14px; padding-bottom: 14px; }

.dc-logo-text strong { font-size: 19px; font-weight: 800; color: var(--m-ink); letter-spacing: -.03em; }

.dc-gnb-list { gap: 2px; justify-content: center; }
.dc-gnb-link {
    position: relative;
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
    font-size: 15px; font-weight: 500; color: #464b47;
}
.dc-gnb-link::after,
.dc-gnb-item.active > .dc-gnb-link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; top: auto;
    width: auto; height: 2px; background: var(--m-go);
    transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.dc-gnb-link:hover,
.dc-gnb-item.active > .dc-gnb-link { color: var(--m-ink); }
.dc-gnb-link:hover::after,
.dc-gnb-item.active > .dc-gnb-link::after { transform: scaleX(1); }

.dc-gnb-sub { background: #fff; border: 1px solid var(--m-line); padding: 6px 0; }
.dc-gnb-sub a { display: block; padding: 12px 18px; font-size: 15px; color: #464b47; }
.dc-gnb-sub a:hover { background: var(--m-alt); color: var(--m-ink); }

.dcm-quote {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 13px 26px;
    background: var(--m-go); color: #fff;
    font-size: 14px; font-weight: 700; line-height: 1.2;
    transition: background .2s ease;
}
.dcm-quote:hover { background: var(--m-go-dark); color: #fff; }

.dc-mobile-link { display: flex; align-items: center; min-height: 52px; color: var(--m-ink); }
.dc-mobile-sub a { display: inline-flex; align-items: center; min-height: 48px; border-radius: 0; }
.dc-mobile-foot { align-items: stretch; gap: 10px; }

/* 헤더 높이가 내용에 따라 달라지므로, 옛 고정 높이 변수(--dc-header-h)에 묶인 규칙을 풀어준다 */
.dc-gnb-link { height: auto; line-height: 1.4; }
.dc-gnb-sub  { top: 100%; }
/* 모바일 메뉴: 헤더 바로 아래에서 시작하고(열 때 script.js 가 위치 계산) 헤더보다 아래 층에 둔다.
   헤더 위를 덮으면 메뉴 닫기 버튼이 가려진다. */
.dc-mobile   { top: var(--dc-header-h); z-index: 19; }
.dc-top      { border-radius: 0; box-shadow: none; }

/* 하위 페이지 상단 */
.dc-pagehero { background: var(--m-alt); color: var(--m-ink); border-bottom: 1px solid var(--m-line); }
.dc-pagehero::after { display: none; }
.dc-pagehero-title { color: var(--m-ink); }
.dc-pagehero-sub { color: var(--m-body); }
.dc-breadcrumb, .dc-breadcrumb a, .dc-breadcrumb strong { color: var(--m-cap); }


/* ── 공통 : 컨테이너 · 버튼 · 섹션 머리 ─────────────────────────────── */
.dcm-wrap {
    max-width: var(--dc-max); margin: 0 auto;
    padding-left: var(--m-pad-x); padding-right: var(--m-pad-x);
}

.dcm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 28px;
    font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
    border: 2px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dcm-btn-ink   { background: var(--m-ink); color: #fff; }
.dcm-btn-ink:hover { background: var(--m-go); color: #fff; }
.dcm-btn-line  { background: transparent; border-color: var(--m-ink); color: var(--m-ink); }
.dcm-btn-line:hover { background: var(--m-ink); color: #fff; }
.dcm-btn-white { background: #fff; color: var(--m-ink); }
.dcm-btn-white:hover { background: #e8e6e0; color: var(--m-ink); }
.dcm-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.dcm-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.dcm-btn-block { display: flex; width: 100%; }

.dcm-sec {
    padding-top: var(--m-pad-y); padding-bottom: var(--m-pad-y);
    background: var(--m-bg);
    border-top: 1px solid var(--m-line);     /* 구간이 빠져 같은 배경이 붙어도 경계가 보이게 */
}
.dcm-alt { background: var(--m-alt); }

.dcm-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 12px 40px; margin-bottom: clamp(28px, 3.5vw, 48px);
}
.dcm-head-main { max-width: 56ch; }
.dcm-label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--m-go); }
.dcm-title {
    margin: 0; font-size: clamp(24px, 2.8vw, 38px); font-weight: 800;
    line-height: 1.35; letter-spacing: -.03em; color: var(--m-ink);
}
.dcm-desc { margin: 14px 0 0; max-width: 56ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: var(--m-body); }
.dcm-head-side { margin: 0; font-size: 15px; font-weight: 700; color: var(--m-cond); }

.dcm-more { margin: 32px 0 0; }
.dcm-more a {
    display: inline-flex; align-items: center; min-height: 48px;
    font-size: 15px; font-weight: 700; color: var(--m-ink);
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.dcm-more a:hover { color: var(--m-go); }
.dcm-empty { margin: 0; padding: 32px 0; font-size: 15px; color: var(--m-cap); }


/* ── 메인 구간 순서 ───────────────────────────────────────────────────
   HTML 순서는 휴대폰 기준(히어로 → 요금표 → ...).
   PC에서만 flex order 로 요금표를 후기 아래로 내린다. */
.is-home .dc-main { display: flex; flex-direction: column; }
.dcm-hero     { order: 1; }
.dcm-stats    { order: 2; }
.dcm-services { order: 3; }
.dcm-ongoing  { order: 4; }
.dcm-cases    { order: 5; }
.dcm-reviews  { order: 6; }
.dcm-price    { order: 7; }
.dcm-faq      { order: 8; }
#price, #cases { scroll-margin-top: 96px; }
/* 메뉴에서 바로 가는 구간 — 고정 머리글에 가리지 않게 */
#greet, #broadcast, #overview, #history, #press, #map, #recruit { scroll-margin-top: 100px; }


/* ── 3.3 히어로 ───────────────────────────────────────────────────────── */
.dcm-hero { padding: clamp(48px, 6vw, 96px) 0 clamp(48px, 6vw, 88px); background: var(--m-bg); }
.dcm-hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 4vw, 64px); }
.dcm-hero-main { flex: 1 1 480px; min-width: 0; }
.dcm-hero.is-solo .dcm-hero-main { max-width: 860px; }
.dcm-hero-title {
    margin: 0; font-size: clamp(28px, 3.6vw, 50px); font-weight: 800;
    line-height: 1.32; letter-spacing: -.03em; color: var(--m-ink);
}
.dcm-hero-title span { display: block; }
.dcm-hero-title .is-accent { color: var(--m-go); }
.dcm-hero-desc { margin: 22px 0 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.85; color: var(--m-body); }
.dcm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.dcm-hero-note { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: var(--m-cap); }

.dcm-recent { flex: 1 1 320px; min-width: 0; background: #fff; border: 1px solid var(--m-line); }
.dcm-recent-head {
    margin: 0; display: flex; align-items: center; gap: 10px;
    padding: 16px 22px; border-bottom: 1px solid var(--m-line);
    font-size: 14px; font-weight: 700; color: var(--m-ink);
}
.dcm-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--m-go); }
.dcm-recent-list { margin: 0; padding: 0; list-style: none; }
.dcm-recent-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 15px 22px; border-bottom: 1px solid var(--m-line-soft);
}
.dcm-recent-client { margin: 0; font-size: 15px; font-weight: 700; color: var(--m-ink); }
.dcm-recent-task { margin: 2px 0 0; font-size: 14px; color: var(--m-cap); }
.dcm-recent-status { flex: none; font-size: 13px; font-weight: 700; color: var(--m-go); }
.dcm-recent-foot { margin: 0; padding: 12px 22px; font-size: 13px; color: var(--m-cap); }


/* ── 3.4 숫자 지표 ────────────────────────────────────────────────────── */
.dcm-stats { background: var(--m-bg); border-top: 1px solid var(--m-line); }
.dcm-stats-inner { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 3vw, 40px); }
.dcm-stat { flex: 1 1 190px; padding: clamp(28px, 3.5vw, 44px) 0; }
.dcm-stat-num {
    margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800;
    line-height: 1.1; letter-spacing: -.03em; color: var(--m-ink);
    font-variant-numeric: tabular-nums;
}
.dcm-stat-cap { margin: 8px 0 0; font-size: 14px; color: var(--m-cap); }


/* ── 카드 그리드 공통 ─────────────────────────────────────────────────── */
.dcm-cards { display: grid; gap: 16px; }
.dcm-cards-svc    { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.dcm-cards-job    { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.dcm-cards-case   { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 24px; }
.dcm-cards-review { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }


/* ── 3.5 서비스 ───────────────────────────────────────────────────────── */
.dcm-card {
    display: flex; flex-direction: column;
    padding: 28px 26px 24px; background: #fff; border: 1px solid var(--m-line);
    color: var(--m-body); text-decoration: none;
    transition: translate .2s ease, border-color .2s ease;
}
.dcm-card:hover { translate: 0 -4px; border-color: var(--m-go); color: var(--m-body); }
.dcm-card-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--m-go); }
.dcm-card-title { margin: 14px 0 0; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--m-ink); }
.dcm-card-desc { flex: 1; margin: 10px 0 0; font-size: 15px; line-height: 1.8; color: var(--m-body); }
.dcm-card-more { display: inline-flex; align-items: center; min-height: 40px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--m-go); }


/* ── 3.6 진행 중인 작업 ───────────────────────────────────────────────── */
.dcm-job { padding: 22px 22px 24px; background: #fff; border: 1px solid var(--m-line); }
.dcm-badge { display: inline-block; padding: 6px 12px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.dcm-badge.is-draft  { background: var(--m-cond); color: #fff; }
.dcm-badge.is-build  { background: var(--m-ink);  color: #fff; }
.dcm-badge.is-review { background: var(--m-go);   color: #fff; }
.dcm-badge.is-wait   { background: var(--m-img);  color: #464b47; }
.dcm-job-client { margin: 16px 0 0; font-size: 17px; font-weight: 700; color: var(--m-ink); }
.dcm-job-kind   { margin: 4px 0 0; font-size: 15px; color: var(--m-body); }
.dcm-job-date   { margin: 12px 0 0; font-size: 13px; color: var(--m-cap); }


/* ── 3.7 구축사례 ─────────────────────────────────────────────────────── */
.dcm-tabs {
    display: flex; flex-wrap: wrap; gap: 0 26px;
    margin: -8px 0 32px; border-bottom: 1px solid var(--m-line);
}
.dcm-tabs a {
    display: inline-flex; align-items: center; min-height: 48px; margin-bottom: -1px;
    font-size: 15px; font-weight: 500; color: #464b47;
    border-bottom: 2px solid transparent;
}
.dcm-tabs a:hover { color: var(--m-ink); }
.dcm-tabs a.is-on { font-weight: 700; color: var(--m-ink); border-bottom-color: var(--m-go); }

.dcm-case { display: flex; flex-direction: column; min-width: 0; transition: translate .2s ease; }
.dcm-case:hover { translate: 0 -4px; }
.dcm-case-shot {
    display: block; aspect-ratio: 16 / 10; overflow: hidden;
    background: var(--m-img); border: 1px solid var(--m-line);
}
.dcm-case-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dcm-case-meta   { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--m-go); }
.dcm-case-title  { margin: 6px 0 0; font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.dcm-case-title a { color: var(--m-ink); }
.dcm-case-title a:hover { color: var(--m-go); }
.dcm-case-result { margin: 8px 0 0; font-size: 14px; line-height: 1.75; color: var(--m-body); }
.dcm-case-link {
    align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px;
    font-size: 14px; font-weight: 700; color: var(--m-go);
}


/* ── 3.8 후기 ─────────────────────────────────────────────────────────── */
.dcm-reviews-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(28px, 4vw, 64px); }
.dcm-score { flex: 0 1 220px; }
.dcm-score-num { margin: 0; font-size: clamp(36px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--m-ink); }
.dcm-score-cap { margin: 10px 0 0; font-size: 14px; color: var(--m-cap); }
.dcm-reviews .dcm-cards { flex: 1 1 520px; min-width: 0; }
.dcm-review { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--m-line); }
.dcm-review-score { margin: 0; font-size: 13px; font-weight: 700; color: var(--m-go); }
.dcm-review blockquote { margin: 12px 0 0; font-size: 15px; line-height: 1.85; color: var(--m-ink); }
.dcm-review figcaption { margin-top: 16px; font-size: 13px; color: var(--m-cap); }


/* ── 3.9 관리 요금 ────────────────────────────────────────────────────── */
.dcm-price-table table {
    width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff;
    border-top: 2px solid var(--m-ink); border-bottom: 2px solid var(--m-ink);
}
.dcm-price-table col.c-label { width: 31.8%; }            /* 1.4fr : 1fr : 1fr : 1fr */
.dcm-price-table th,
.dcm-price-table td {
    padding: 17px 20px; text-align: left; vertical-align: middle;
    border-top: 1px solid var(--m-line-soft);
    font-size: 15px; line-height: 1.6;
}
.dcm-price-table thead th { border-top: 0; padding-top: 24px; padding-bottom: 22px; vertical-align: bottom; }
.dcm-price-table tbody th { font-weight: 700; color: var(--m-ink); }
.dcm-price-table .is-feat { background: var(--m-feat); }

.dcm-plan-name { display: block; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--m-cap); }
.dcm-plan-name em {
    margin-left: 8px; padding: 3px 8px; font-style: normal; letter-spacing: 0;
    font-size: 12px; background: var(--m-go); color: #fff;
}
.dcm-plan-price {
    display: block; margin: 8px 0 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800;
    line-height: 1.2; letter-spacing: -.03em; color: var(--m-ink);
}
.dcm-plan-unit { display: block; margin: 6px 0 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--m-cap); }

.dcm-v-yes  { font-weight: 700; color: var(--m-go); }
.dcm-v-no   { color: var(--m-off); }
.dcm-v-text { color: var(--m-ink); }
.dcm-v-cond { font-weight: 700; color: var(--m-cond); }

.dcm-price-cards { display: none; }
.dcm-pcard { padding: 22px 20px 12px; background: #fff; border: 1px solid var(--m-line); border-top: 2px solid var(--m-ink); }
.dcm-pcard.is-feat { background: var(--m-feat); border-top-color: var(--m-go); }
.dcm-pcard .dcm-plan-price small { margin-left: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--m-cap); }
.dcm-pcard dl { margin: 14px 0 0; }
.dcm-pcard dl > div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-top: 1px solid var(--m-line-soft); font-size: 15px;
}
.dcm-pcard dt { color: var(--m-body); }
.dcm-pcard dd { margin: 0; text-align: right; }

.dcm-foot-note { margin: 18px 0 0; font-size: 14px; color: var(--m-cap); }
.dcm-foot-note a {
    margin-left: 8px; padding: 14px 0; font-weight: 700; color: var(--m-ink);
    text-decoration: underline; text-underline-offset: 3px;
}


/* ── 3.10 자주 묻는 질문 ──────────────────────────────────────────────── */
.dcm-faq-list { border-top: 2px solid var(--m-ink); }
.dcm-faq-item { border-bottom: 1px solid var(--m-line); }
.dcm-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--m-ink);
}
.dcm-faq-item summary::-webkit-details-marker { display: none; }
.dcm-faq-item summary::after {
    content: '+'; flex: none; font-size: 26px; font-weight: 400; line-height: 1; color: var(--m-go);
    transition: transform .2s ease;
}
.dcm-faq-item[open] summary::after { transform: rotate(45deg); }
.dcm-faq-item summary:focus-visible { outline: 2px solid var(--m-go); outline-offset: 2px; }
.dcm-faq-item p { margin: 0; padding: 0 0 24px; max-width: 70ch; font-size: 15px; line-height: 1.85; color: var(--m-body); }


/* ── 3.11 마무리 CTA · 푸터 ───────────────────────────────────────────── */
.dcm-cta { background: var(--m-ink); color: #e8e6e0; }
.dcm-cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
    padding-top: clamp(44px, 5.5vw, 76px); padding-bottom: clamp(44px, 5.5vw, 76px);
}
.dcm-cta-title {
    margin: 0; max-width: 30ch; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800;
    line-height: 1.4; letter-spacing: -.03em; color: #fff;
}
.dcm-cta-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: #c9ccc8; }
.dcm-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.dcm-footer { background: var(--m-alt); border-top: 1px solid var(--m-line); color: var(--m-cap); font-size: 13px; line-height: 1.8; }
.dcm-footer-inner { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 80px); padding-top: 44px; padding-bottom: 44px; }
.dcm-footer-col { flex: 1 1 240px; min-width: 0; }
.dcm-footer-col p { margin: 0; }
.dcm-footer-col p > span { margin-right: 8px; color: var(--m-off); }
.dcm-footer-col .dcm-footer-brand { margin-bottom: 6px; font-size: 15px; font-weight: 800; color: var(--m-ink); }
.dcm-footer a { color: var(--m-ink); }
.dcm-footer a:hover { color: var(--m-go); }
.dcm-footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: -12px; }
.dcm-footer-links a { display: inline-flex; align-items: center; min-height: 48px; }
.dcm-footer-col .dcm-copy { margin-top: 2px; }

.dcm-fixbar { display: none; }


/* ── 5. 등장 효과 (CSS 전용 · 끝 상태가 "보임") ─────────────────────── */
@keyframes dcm-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.dcm-rise        { animation: dcm-rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
.dcm-rise.dcm-d2 { animation-delay: .16s; }

@supports (animation-timeline: view()) {
    .dcm-reveal {
        animation: dcm-rise linear both;
        animation-timeline: view();
        animation-range: entry 2% cover 26%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcm-rise, .dcm-reveal { animation: none; }
    .dcm-card, .dcm-case, .dc-header-inner { transition: none; }
}


/* ── 6. 휴대폰 ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dc-header-inner { justify-content: space-between; }
}

@media (max-width: 768px) {
    body { font-size: 16px; padding-bottom: 56px; }

    /* 상단 띠: 배지 2개만, 오른쪽 안내는 하단 고정 바로 대신한다 */
    .dcm-topbar-badges li:nth-child(n+3) { display: none; }
    .dcm-topbar-side { display: none; }

    /* 첫 화면 주 버튼은 하나 — 헤더 견적받기는 메뉴 안으로 */
    .dcm-quote { display: none; }

    /* HTML 순서(히어로 → 요금표 → ...)대로 쌓는다 */
    .is-home .dc-main { display: block; }

    .dcm-hero-actions { flex-direction: column; align-items: stretch; }
    .dcm-hero-note { order: 1; margin: 2px 0 0; }
    .dcm-hero-actions .dcm-btn-line {
        order: 2; align-self: flex-start; min-height: 48px; padding: 0;
        border: 0; background: none; color: var(--m-ink);
        text-decoration: underline; text-underline-offset: 5px;
    }
    .dcm-hero-actions .dcm-btn-line:hover { background: none; color: var(--m-go); }

    /* 요금표: 가로 스크롤 대신 플랜별 카드 */
    .dcm-price-table { display: none; }
    .dcm-price-cards { display: grid; gap: 12px; }
    .dcm-pcard.is-feat { order: -1; }

    .dcm-cards-case .dcm-case:nth-child(n+4) { display: none; }
    .dcm-stat { flex-basis: 40%; }
    .dcm-head { align-items: flex-start; }
    .dcm-cta-actions { width: 100%; }
    .dcm-cta-actions .dcm-btn { flex: 1 1 100%; }

    /* 하단 고정 바 : 전화 / 무료진단 */
    .dcm-fixbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        display: grid; grid-template-columns: 1fr 1fr;
        background: var(--m-ink);
        padding-bottom: env(safe-area-inset-bottom, 0);
        transition: transform .25s ease;
    }
    .dcm-fixbar.is-single { grid-template-columns: 1fr; }
    .dcm-fixbar a {
        display: flex; align-items: center; justify-content: center;
        min-height: 56px; font-size: 16px; font-weight: 700; color: #fff;
    }
    .dcm-fixbar-diag { background: var(--m-go); }
    .fixbar-hide .dcm-fixbar { transform: translateY(110%); }
    .dc-top { bottom: 72px; }
}


/* ==========================================================================
   하나재가복지센타 — devcorp 위에 덮어쓰는 부분
   색 : 명함 · 전단 그대로 (초록 메인, 노랑 · 민트 배경, 분홍 강조)
        흰 글씨가 올라가는 칸은 진한 색(--hn-green-d, --hn-pink-d)을 써서 대비 4.5 이상
   글씨 : 본문 18px — 어르신 · 50대 이상 자녀 기준
   ========================================================================== */
:root {
    --hn-green:    #2f9e44;
    --hn-green-d:  #1f7a33;
    --hn-green-dd: #17532a;
    --hn-green-l:  #ebf7ee;
    --hn-yellow:   #fff6b8;
    --hn-yellow-s: #ffe94d;
    --hn-mint:     #dff6ef;
    --hn-pink:     #e64980;
    --hn-pink-d:   #c2255c;
    --hn-radius:   16px;

    --dc-primary:      var(--hn-green-d);
    --dc-primary-dark: var(--hn-green-dd);
    --dc-primary-soft: var(--hn-green-l);
    --dc-accent:       var(--hn-pink);
    --dc-text:   #1d2a22;
    --dc-body:   #3f4a43;
    --dc-muted:  #5f6b63;
    --dc-line:   #dfe8df;
    --dc-bg-alt: #f6faf3;
    --dc-radius:    12px;
    --dc-radius-lg: 16px;
    --dc-header-h:  76px;
    --dc-font: 'Gothic A1', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

    --m-ink:     #1d2a22;
    --m-body:    #3f4a43;
    --m-cap:     #5f6b63;
    --m-off:     #6b766e;
    --m-go:      var(--hn-green-d);
    --m-go-dark: var(--hn-green-dd);
    --m-cond:    var(--hn-pink-d);
    --m-alt:     #f6faf3;
    --m-img:     var(--hn-green-l);
    --m-line:    #dfe8df;
    --m-feat:    var(--hn-green-l);
}

body { font-size: 18px; line-height: 1.8; }
.dc-prose p, .dc-prose ul li, .dc-prose ol li { font-size: 18px; }
.dc-table th, .dc-table td { font-size: 17px; }

/* 하위 페이지 좌우 여백 — devcorp 의 .dc-page { padding: 64px 0 } 이 .dc-inner 좌우 여백을 지워 휴대폰에서 글이 화면 끝에 붙던 것 */
.dc-inner.dc-page { padding-left: var(--dc-gutter); padding-right: var(--dc-gutter); }

/* 메인 구간은 HTML 순서대로 (devcorp 의 flex order 해제) */
.is-home .dc-main { display: block; }

/* 버튼 : 둥글게, 크게 */
.dcm-btn { min-height: 56px; padding: 0 26px; font-size: 18px; border-radius: 12px; }
.dc-btn  { border-radius: 10px !important; }
.hn-btn-call { background: var(--hn-pink-d); color: #fff; }
.hn-btn-call:hover { background: #a61e4d; color: #fff; }

/* ── 상단 띠 · 헤더 ───────────────────────────────────────── */
.dcm-topbar { background: var(--hn-green-dd); color: #f1f8f2; font-size: 14px; }
.dcm-topbar-badges li.is-strong { color: var(--hn-yellow-s); }

.hn-wordmark { display: flex; flex-direction: column; line-height: 1.2; }
.hn-wordmark-name { font-size: 25px; font-weight: 800; letter-spacing: -.03em; color: var(--hn-green-d); }
.hn-wordmark-name b { color: var(--hn-pink); margin-right: 4px; }
.hn-wordmark-sub { margin-top: 3px; font-size: 12px; color: var(--m-cap); letter-spacing: -.01em; }

.dc-gnb-link { font-size: 17px; font-weight: 700; }
.dcm-quote.hn-call {
    background: var(--hn-pink-d); border-radius: 999px;
    font-size: 17px; padding: 12px 22px; white-space: nowrap;
}
.dcm-quote.hn-call:hover { background: #a61e4d; }

/* 하위 페이지 머리 */
.dc-pagehero { background: linear-gradient(120deg, var(--hn-green-l) 0%, var(--hn-mint) 60%, var(--hn-yellow) 100%); border-bottom: 0; }
.dc-pagehero-title { font-size: clamp(30px, 4vw, 42px); color: var(--hn-green-dd); }
.dc-pagehero-sub { font-size: 18px; color: var(--m-body); }

/* ── 이미지 자리 (사진이 없을 때) ─────────────────────────── */
.hn-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--hn-radius); background: var(--hn-green-l); }
.hn-r43  { aspect-ratio: 4 / 3; }
.hn-r32  { aspect-ratio: 3 / 2; }
.hn-r169 { aspect-ratio: 16 / 9; }
.hn-r11  { aspect-ratio: 1 / 1; }
.hn-r34  { aspect-ratio: 3 / 4; }
.hn-slot {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 18px; text-align: center;
    background: repeating-linear-gradient(-45deg, #fffbe0 0 14px, #fff6c7 14px 28px);
    border: 3px dashed var(--hn-pink); border-radius: var(--hn-radius);
    color: var(--m-ink);
}
.hn-slot-ic   { font-size: 34px; line-height: 1; }
.hn-slot-tag  { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--hn-pink-d); color: #fff; font-size: 14px; letter-spacing: .02em; }
.hn-slot-label { font-size: 15px; font-weight: 700; line-height: 1.5; max-width: 32ch; }
.hn-slot-file { font-size: 12px; color: var(--m-cap); word-break: break-all; }

/* ── 메인 첫 화면 ─────────────────────────────────────────── */
.hn-hero { background: linear-gradient(180deg, #eef9f6 0%, #fffdf0 100%); }
.hn-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hn-kicker { display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px; background: var(--hn-green-d); color: #fff; font-size: 16px; font-weight: 700; }
.hn-hero .dcm-hero-title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.3; color: var(--m-ink); letter-spacing: -.04em; font-weight: 800; }
.hn-hero .dcm-hero-title .is-accent { color: var(--hn-pink-d); }
.hn-hero .dcm-hero-desc { font-size: clamp(18px, 1.5vw, 20px); }
.hn-points { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.hn-points li { padding: 8px 14px 8px 36px; position: relative; background: #fff; border: 2px solid var(--hn-green); border-radius: 999px; font-size: 16px; font-weight: 700; color: var(--hn-green-dd); }
.hn-points li::before { content: "✓"; position: absolute; left: 14px; color: var(--hn-green); font-weight: 900; }

/* ── 이용 대상 ───────────────────────────────────────────── */
.hn-target-box { padding: clamp(24px, 3vw, 40px); background: #fff; border: 2px solid var(--hn-green); border-radius: var(--hn-radius); }
.hn-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; }
.hn-tags li { padding: 8px 18px; border-radius: 999px; background: var(--hn-yellow); color: var(--m-ink); font-size: 18px; font-weight: 800; }
.dc-prose .hn-tags li { padding: 8px 18px; }
.dc-prose .hn-tags li::before { display: none; }
.hn-target-desc { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; color: var(--m-ink); line-height: 1.6; }
.hn-target-grade { margin-top: 12px; font-size: 17px; color: var(--m-body); }

/* ── 서비스 카드 ─────────────────────────────────────────── */
.dcm-card.hn-svc-card { padding: 0 0 22px; border-radius: var(--hn-radius); overflow: hidden; border: 1px solid var(--m-line); }
.hn-svc-card .hn-img, .hn-svc-card .hn-slot { border-radius: 0; }
.hn-svc-card .hn-slot { border-width: 0 0 3px; }
.hn-svc-card .dcm-card-title, .hn-svc-card .dcm-card-desc, .hn-svc-card .dcm-card-more { padding: 0 22px; }
.hn-svc-card .dcm-card-title { margin-top: 18px; font-size: 22px; }
.hn-svc-card .dcm-card-desc { font-size: 17px; }

/* ── 이용 절차 ───────────────────────────────────────────── */
.hn-step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.hn-step { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--m-line); border-radius: var(--hn-radius); }
.hn-step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hn-green-d); color: #fff; font-weight: 800; font-size: 17px; }
.hn-step-title { margin-top: 14px; font-size: 21px; color: var(--m-ink); }
.hn-step-desc { margin-top: 8px; font-size: 17px; color: var(--m-body); line-height: 1.7; }
.hn-step-page { margin: 8px auto 40px; }

.hn-support { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; padding: 24px 28px; background: var(--hn-yellow); border-radius: var(--hn-radius); }
.hn-support-big { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--m-ink); }
.hn-support-big b { color: var(--hn-pink-d); }
.hn-support-desc { flex: 1 1 320px; font-size: 17px; color: var(--m-body); }
.dc-prose .hn-support p { margin: 0; }

/* ── 숫자 ───────────────────────────────────────────────── */
.hn-stats { background: var(--hn-green-d); border-top: 0; }
.hn-stats .dcm-stat-num { color: #fff; }
.hn-stats .dcm-stat-cap { color: #e3f3e6; font-size: 16px; }

/* ── 신뢰 ───────────────────────────────────────────────── */
.hn-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin: 8px 0 24px; }
.hn-trust-card { padding: 22px; background: #fff; border: 1px solid var(--m-line); border-radius: var(--hn-radius); }
.hn-trust-media { max-width: 240px; margin-bottom: 16px; }
.hn-trust-badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--hn-green-l); color: var(--hn-green-d); font-size: 30px; font-weight: 900; }
.hn-trust-title { font-size: 20px; color: var(--m-ink); }
.hn-trust-desc { margin-top: 8px; font-size: 16px; color: var(--m-body); line-height: 1.7; }

/* ── 센타 소식 ───────────────────────────────────────────── */
.hn-news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 48px); }
.hn-news-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--m-ink); font-size: 22px; }
.hn-news-h a { font-size: 15px; font-weight: 700; color: var(--hn-green-d); }
.hn-news-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--m-line); }
.hn-news-list a { color: var(--m-ink); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-news-list span { flex-shrink: 0; font-size: 15px; color: var(--m-cap); }
.hn-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hn-photo-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto 32px; }
.hn-photo { display: block; color: var(--m-ink); }
.hn-photo > span { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; }
.hn-photo .hn-slot-label { font-size: 13px; }
.hn-photo .dc-case-ph { aspect-ratio: 4 / 3; border-radius: var(--hn-radius); }

/* ── 요양보호사 모집 ─────────────────────────────────────── */
.hn-recruit { background: var(--hn-yellow-s); }
.hn-recruit-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 36px; padding-bottom: 36px; }
.hn-recruit-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--m-ink); }
.hn-recruit-desc { margin-top: 6px; font-size: 18px; color: #3d3a1f; }
.hn-recruit-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 오시는 길 ───────────────────────────────────────────── */
.hn-map-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.hn-map-info dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 14px; margin: 0 0 22px; font-size: 18px; }
.hn-map-info dt { font-weight: 800; color: var(--m-ink); }
.hn-map-info dd { margin: 0; }
.hn-map-info dd a { color: var(--m-ink); font-weight: 700; }
.hn-map-info .dcm-btn-ink { color: #fff; }

/* ── 센타 소개 ───────────────────────────────────────────── */
.hn-about > section, .hn-about > .hn-trust-grid, .hn-about > .hn-press, .hn-about > .hn-map-grid { max-width: 980px; margin-left: auto; margin-right: auto; }
.hn-about > .hn-map-grid { margin-bottom: 24px; }
.hn-greet { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; margin-bottom: 48px; }
.dc-prose .hn-greet-lead { font-size: 24px; font-weight: 800; color: var(--hn-green-d); line-height: 1.5; }
.dc-prose .hn-sign { text-align: right; color: var(--m-ink); }
.hn-table th { width: 140px; }
.dc-prose .hn-timeline { margin: 8px 0 32px; padding: 0 0 0 4px; border-left: 3px solid var(--hn-green); }
.dc-prose .hn-timeline li { position: relative; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 18px 24px; }
.dc-prose .hn-timeline li::before { left: -10px; top: 10px; width: 14px; height: 14px; background: #fff; border: 3px solid var(--hn-green); }
.hn-tl-year { min-width: 80px; font-weight: 800; color: var(--hn-green-d); }
.hn-tl-text { flex: 1 1 300px; }
.hn-press { margin: 8px auto 40px; padding: 0; list-style: none; }
.hn-press li { padding: 18px 0; border-bottom: 1px solid var(--m-line); }
.hn-press-meta { font-size: 14px; color: var(--m-cap); }
.hn-press-title { margin-top: 4px; font-size: 19px; font-weight: 800; }
.hn-press-title a { color: var(--m-ink); }
.hn-press-title a:hover { color: var(--hn-green-d); }
.hn-press-sum { margin-top: 4px; font-size: 16px; }

/* ── 서비스 안내 ─────────────────────────────────────────── */
.hn-svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hn-svc-nav a { padding: 10px 18px; border: 2px solid var(--hn-green); border-radius: 999px; color: var(--hn-green-dd); font-weight: 800; font-size: 17px; }
.hn-svc-nav a:hover { background: var(--hn-green-l); }
.hn-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 40px 0; border-top: 1px solid var(--m-line); scroll-margin-top: 100px; }
.hn-svc.is-rev .hn-svc-media { order: 2; }
.hn-svc-num { font-size: 15px; font-weight: 800; color: var(--hn-green-d); letter-spacing: .06em; }
.hn-svc-title { margin-top: 6px; font-size: clamp(28px, 3vw, 36px); }
.hn-svc-lead { margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--hn-pink-d); }
.hn-svc-desc { margin-top: 12px; }
.hn-check { margin: 18px 0 0; padding: 0; }
.hn-check li { position: relative; padding: 6px 0 6px 32px; font-size: 18px; }
.hn-check li::before { content: "✓"; position: absolute; left: 4px; top: 6px; color: var(--hn-green); font-weight: 900; }
.hn-svc-actions, .hn-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hn-svc-foot { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--m-line); }
.hn-svc-foot .dcm-btn { margin: 6px 6px 0 0; }
.dc-prose .hn-note { font-size: 16px; color: var(--m-cap); }

/* ── 상담 문의 ───────────────────────────────────────────── */
.hn-call-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 32px; padding: 22px; background: var(--hn-yellow); border-radius: var(--hn-radius); }
.hn-call-box p { flex-basis: 100%; font-size: 20px; font-weight: 800; color: var(--m-ink); }
.hn-form-h { font-size: 24px; margin-bottom: 8px; }
.hn-form-sub { margin-bottom: 24px; color: var(--m-cap); font-size: 16px; }
.dc-input, .dc-select, .dc-textarea { font-size: 17px !important; border-radius: 10px !important; }
.dc-label { font-size: 16px; }

/* ── 마무리 CTA · 푸터 ───────────────────────────────────── */
.dcm-cta { background: var(--hn-green-dd); }
.dcm-cta-title { color: #fff; }
.dcm-cta-desc { color: #d8eedc; font-size: 17px; }
.dcm-footer { font-size: 15px; }

/* ── 휴대폰 ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hn-hero-inner, .hn-news-grid, .hn-map-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    body { font-size: 17px; }
    .hn-wordmark-name { font-size: 21px; }
    .hn-wordmark-sub { font-size: 11px; }
    .hn-svc, .hn-greet { grid-template-columns: minmax(0, 1fr); }
    .hn-svc.is-rev .hn-svc-media { order: 0; }
    .hn-greet-media { max-width: 220px; }
    .hn-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hn-news .hn-photo-grid .hn-photo:nth-child(3) { display: none; }
    .hn-recruit-actions, .hn-recruit-actions .dcm-btn { width: 100%; }
    .dcm-fixbar { background: var(--hn-pink-d); }
    .dcm-fixbar-diag { background: var(--hn-green-d) !important; }
    .dcm-fixbar a { font-size: 18px; }
    .hn-hero .dcm-hero-actions .dcm-btn-line {
        order: 0; align-self: stretch; min-height: 56px; padding: 0 26px;
        border: 2px solid var(--m-ink); color: var(--m-ink); text-decoration: none;
    }
}


/* ==========================================================================
   하나재가 — 02_doc/hana_web_assets 이미지 적용 (2026-11-13)
   원본 이미지가 작아서(서비스 사진 약 238×135) 크게 늘리지 않도록 표시 폭을 제한한다.
   ========================================================================== */
.hn-pic { display: block; }

/* ── 메인 첫 화면 : 배경 사진 ─────────────────────────────── */
.hn-hero.has-bg { position: relative; overflow: hidden; background: #f3f9ec; padding: 0; }
.hn-hero.has-bg .hn-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hn-hero.has-bg .hn-hero-bg .hn-pic,
.hn-hero.has-bg .hn-hero-bg-img { width: 100%; height: 100%; }
.hn-hero.has-bg .hn-hero-bg-img { object-fit: cover; object-position: 72% 40%; border-radius: 0; aspect-ratio: auto; background: none; }
/* 여러 장 롤링 : 겹쳐 두고 서서히 바뀜 */
.hn-hero.has-bg .hn-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hn-hero.has-bg .hn-hero-slide.is-active { opacity: 1; }
.hn-hero.has-bg .hn-hero-slide-2 .hn-hero-bg-img { object-position: 78% 35%; }
.hn-hero.has-bg .hn-hero-slide-3 .hn-hero-bg-img { object-position: 70% 70%; }
.hn-hero-dots { position: absolute; left: 50%; bottom: clamp(14px, 2vw, 24px); z-index: 3; display: flex; gap: 10px; transform: translateX(-50%); }
.hn-hero-dot { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; transition: width .3s ease, background .3s ease; }
.hn-hero-dot.is-active { width: 30px; background: var(--hn-pink-d); }
.hn-hero-dot:focus-visible { outline: 3px solid var(--hn-green-dd, #17532a); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hn-hero.has-bg .hn-hero-slide { transition: none; } }
/* 글 쪽(왼쪽)을 밝게 덮어 글씨 대비 확보 */
.hn-hero.has-bg::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 52%, rgba(255,255,255,0) 64%);
}
.hn-hero.has-bg .hn-hero-inner { position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr); min-height: clamp(480px, 40vw, 600px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.hn-hero.has-bg .hn-hero-main { max-width: 560px; }
.hn-hero.has-bg .dcm-hero-desc { max-width: 25em; }

/* ── 하위 페이지 머리 : 같은 배경 사진을 옅게 ───────────────── */
.dc-pagehero {
    background:
        linear-gradient(90deg, rgba(246,250,243,.96) 0%, rgba(246,250,243,.9) 45%, rgba(246,250,243,.55) 100%),
        url("../img/hero-bg.jpg") 70% 45% / cover no-repeat;
}

/* ── 이용 대상 + 사진 ─────────────────────────────────────── */
.hn-target-row.has-photo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 32px); align-items: center; }
.hn-target-photo { max-width: 400px; justify-self: center; width: 100%; }
.hn-target-photo .hn-img { box-shadow: 0 10px 30px rgba(23, 83, 42, .12); }

/* ── 서비스 카드 사진 16:9 ───────────────────────────────── */
.hn-svc-card .hn-img { transition: transform .35s ease; }
.hn-svc-card:hover .hn-img { transform: scale(1.04); }
.hn-svc-media { overflow: hidden; }

/* ── 신뢰 : 손 사진 + 소감 ───────────────────────────────── */
.hn-trust-lead { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: 24px; padding: clamp(18px, 2.4vw, 28px); background: var(--hn-green-l); border-radius: var(--hn-radius); }
.hn-trust-quote { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.55; color: var(--hn-green-dd); }
.hn-trust-quote-by { margin-top: 10px; font-size: 15px; color: var(--m-cap); }

/* ── 예시 이미지 (견본 — 실제 사진으로 바꿔야 함) ─────────── */
.hn-sample { position: relative; }
.hn-sample .hn-img { filter: saturate(.85); outline: 3px dashed var(--hn-pink); outline-offset: -3px; }
.hn-sample-tag { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--hn-pink-d); color: #fff; font-size: 13px; font-weight: 800; }
.hn-sample-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--m-cap); }

/* ── 서비스 안내 페이지 : 사진은 원본 크기에 가깝게 ─────────── */
.hn-svc { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.hn-svc.is-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.hn-svc .hn-img { box-shadow: 0 10px 30px rgba(23, 83, 42, .12); }

/* ── 이용 안내 : 글 + 사진 ───────────────────────────────── */
.hn-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px; align-items: center; }
.hn-split-photo .hn-img { box-shadow: 0 8px 24px rgba(23, 83, 42, .12); }

/* ── 상담 문의 : 전화 상자 사진 ──────────────────────────── */
.hn-call-box.has-photo { position: relative; overflow: hidden; padding-right: clamp(22px, 32%, 260px); }
.hn-call-box .hn-pic { position: absolute; right: 0; top: 0; bottom: 0; width: 30%; max-width: 240px; }
.hn-call-box .hn-call-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }

@media (max-width: 1024px) {
    .hn-target-row.has-photo, .hn-trust-lead { grid-template-columns: minmax(0, 1fr); }
    .hn-trust-lead-photo, .hn-target-photo { max-width: 420px; }
}
@media (max-width: 768px) {
    /* 휴대폰 : 사진을 히어로 아래쪽 배경으로 깔고, 위로 갈수록 바탕색으로 녹아들게.
       글은 밝은 윗부분에, 버튼은 옅게 바랜 사진 위에 놓인다. */
    .hn-hero.has-bg { background: linear-gradient(180deg, #eef9f6 0%, #fffdf0 100%); }
    .hn-hero.has-bg .hn-hero-bg {
        top: auto; height: 88vw;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
                mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
    }
    .hn-hero.has-bg .hn-hero-bg-img { object-position: 68% 50%; }
    .hn-hero.has-bg .hn-hero-slide-2 .hn-hero-bg-img { object-position: 84% 40%; }
    .hn-hero.has-bg .hn-hero-slide-3 .hn-hero-bg-img { object-position: 62% 70%; }
    .hn-hero.has-bg::after { display: none; }
    .hn-hero.has-bg .hn-hero-inner { padding-bottom: 72vw; }
    .hn-hero-dots { bottom: 10px; gap: 8px; }
    .hn-hero-dot { width: 10px; height: 10px; }
    .hn-hero-dot.is-active { width: 24px; }
    .hn-hero.has-bg .hn-hero-inner { min-height: 0; }
    .dc-pagehero { background: linear-gradient(180deg, rgba(246,250,243,.9), rgba(246,250,243,.9)), url("../img/hero-bg.jpg") 75% 45% / cover no-repeat; }
    .hn-svc, .hn-svc.is-rev, .hn-split { grid-template-columns: minmax(0, 1fr); }
    .hn-split-photo { max-width: 360px; }
    .hn-call-box.has-photo { padding-right: 22px; }
    .hn-call-box .hn-pic { display: none; }
}

/* ── 상단 메뉴 6개 : 글자 꺾임 방지 (제안서 메뉴 구성, 2026-11-15) ── */
.dc-gnb-link { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1025px) {
    .dc-gnb-link { padding-left: 11px; padding-right: 11px; font-size: 16px; }
    .hn-call { padding-left: 16px; padding-right: 16px; }
}

/* ── 센타 소개 : 방송 출연 (유튜브) ─────────────────────── */
.hn-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 4px auto 48px; }
.hn-video-grid.is-single { grid-template-columns: minmax(0, 760px); }
.hn-video { margin: 0; }
.hn-video-play, .hn-video iframe {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
    border-radius: var(--hn-radius); overflow: hidden; background: #111;
    box-shadow: 0 10px 30px rgba(23, 83, 42, .12);
}
.hn-video-play { cursor: pointer; }
.hn-video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.hn-video-play:hover img { transform: scale(1.03); opacity: .9; }
.hn-video-btn {
    position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%);
    border-radius: 14px; background: rgba(194, 37, 92, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.hn-video-btn::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
    border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff;
}
.hn-video-play:focus-visible { outline: 3px solid var(--hn-green-dd); outline-offset: 3px; }
.hn-video figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.hn-video figcaption strong { font-size: 17px; color: var(--m-ink); }
.hn-video figcaption span { font-size: 14px; color: var(--m-cap); }
@media (max-width: 768px) { .hn-video-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 상담 신청 : 자동등록방지 덧셈 ─────────────────────── */
.hn-quiz-row { display: flex; align-items: center; gap: 12px; }
.hn-quiz-q { font-size: 22px; font-weight: 800; color: var(--m-ink); letter-spacing: .02em; white-space: nowrap; }
.hn-quiz-input { width: 96px; font-size: 20px; text-align: center; }
.hn-quiz-help { margin-top: 6px; font-size: 14px; color: var(--m-cap); }
