/* ==========================================================================
   키친테리어 — 싱크대 수리 교체
   컨셉: "실측 저널 (Measured Craft)"
   웜 니어블랙 + 코냑골드. 정밀 실측/도면을 은유하는 얇은 룰선과 tick 라벨,
   각진 보더그리드, 사진 중심 스플릿 히어로, 클립 리빌 타이포.
   ========================================================================== */

:root {
  --ink:        #1B1712;
  --ink-2:      #2A241D;
  --ink-3:      #34291E;
  --gold:       #A07850;
  --gold-light: #C9A576;
  --gold-deep:  #7D5D3C;
  --gold-rgb:   160, 120, 80;
  --steel:       #6E7478;
  --steel-light: #9BA3A8;
  --steel-rgb:   110, 116, 120;

  --paper:      #F5F2ED;
  --paper-2:    #ECE6D9;
  --line:       #D8D1C2;
  --line-soft:  #E7E2D5;
  --white:      #FFFFFF;

  --text:       #1A1A1A;
  --text-sub:   #4A4742;
  --text-muted: #7A7670;

  --f-display: "Wanted Sans Variable", "Wanted Sans", "Pretendard", sans-serif;
  --f-body:    "Spoqa Han Sans Neo", "Pretendard", sans-serif;
  --f-mono:    "IBM Plex Mono", "SFMono-Regular", monospace;

  --fs-display: clamp(2.8rem, 7vw, 5.6rem);
  --fs-h1:      clamp(2.15rem, 5vw, 3.3rem);
  --fs-h2:      clamp(1.7rem, 3.4vw, 2.5rem);
  --fs-h3:      clamp(1.1rem, 2vw, 1.35rem);
  --fs-lede:    clamp(1rem, 1.6vw, 1.15rem);

  --max-w:  1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sp:     clamp(72px, 9vw, 120px);
  --sp-sm:  clamp(48px, 6vw, 80px);

  --radius: 0px;
  --t:      160ms cubic-bezier(.4,0,.2,1);
  --t-slow: 380ms cubic-bezier(.16,1,.3,1);
  --ease-slow: cubic-bezier(.16,1,.3,1);

  /* 하위호환 별칭(기존 페이지 인라인 참조용) */
  --dp-primary: var(--ink);
  --dp-accent:  var(--gold);
  --dp-radius:  var(--radius);
  --dp-ease:    var(--t-slow);
}

/* ---------- 리셋 ---------- */
* {
  box-sizing: border-box;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
}
h1, h2, h3, .dp-eyebrow, .site-header__logo { font-family: var(--f-display); }
h1 { font-size: var(--fs-h1); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; }
h2 { font-size: var(--fs-h2); line-height: 1.28; letter-spacing: -.015em; margin: 0 0 12px; }
h3 { font-size: var(--fs-h3); line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 16px; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 섹션 리듬 ---------- */
.dp-section { padding: var(--sp) 0; }
.dp-section--soft { background: var(--paper); }
.dp-section--warm { background: var(--paper-2); }
.dp-section--dark { background: var(--ink); color: var(--paper); }
.dp-section--dark h2, .dp-section--dark .dp-eyebrow { color: var(--paper); }
.dp-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

/* tick 라벨(실측 모티프) */
.dp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.dp-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); flex: none; }
.dp-eyebrow--center { justify-content: center; }
.dp-section--dark .dp-eyebrow::before { background: var(--gold); }
.dp-section-lede { color: var(--text-sub); font-size: .95rem; margin: 8px 0 28px; max-width: 640px; }
.dp-section--dark .dp-section-lede { color: rgba(245,242,237,.6); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--ink); box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.site-header__inner { max-width: var(--max-w); margin: 0 auto; padding: 15px var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.site-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-header__logo-icon { display: flex; width: 30px; height: 30px; color: var(--gold-deep); flex: none; }
.site-header__logo-icon svg { width: 100%; height: 100%; }
.site-header__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-header__logo-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.site-header__logo-tag { font-family: var(--f-body); font-size: .68rem; font-weight: 500; color: var(--text-muted); letter-spacing: -.01em; }
@media (max-width: 480px) { .site-header__logo-tag { display: none; } }
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-nav a { text-decoration: none; }
.hdr-nav a:not(.dp-cta) {
  font-size: .92rem; font-weight: 600; color: var(--text-sub);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
@media (hover: hover) and (pointer: fine) { .hdr-nav a:not(.dp-cta):hover { color: var(--ink); border-color: var(--gold); } }
.hdr-nav a.dp-cta { padding: 11px 22px; font-size: .92rem; }
@media (max-width: 640px) { .hdr-nav a:not(.dp-cta) { display: none; } }

/* ---------- CTA 버튼 ---------- */
.dp-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 2px; min-height: 52px; padding: 14px 32px;
  font-weight: 700; text-decoration: none; border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.dp-cta--gold { background: var(--gold); color: #fff; }
.dp-cta--gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--gold-rgb),.35); }
.dp-cta--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.dp-cta--outline:hover { background: var(--ink); color: var(--paper); }
.dp-cta--large { padding: 18px 44px; font-size: 1.05rem; }
.dp-cta::after { content: '→'; transition: transform var(--t); }
.dp-cta--outline::after { content: none; }
@media (hover: hover) and (pointer: fine) { .dp-cta:hover::after { transform: translateX(4px); } }

/* ---------- Hero: 메인(스플릿) ---------- */
.dp-hero--split {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; min-height: 86vh;
}
.dp-hero-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: clamp(56px,8vw,96px) var(--gutter);
  border-right: 1px solid rgba(245,242,237,.12);
}
.dp-hero-copy .dp-eyebrow { color: var(--gold); }
.dp-hero-copy .dp-eyebrow::before { background: var(--gold); }
.clip-wrap { overflow: hidden; padding: .18em 0 .3em; margin-bottom: -.18em; }
.hero-clip {
  display: block; line-height: 1.3;
  transform: translateY(110%);
  transition: transform .6s var(--ease-slow);
}
.is-revealed .hero-clip { transform: translateY(0); }
.dp-hero-copy h1 { font-size: var(--fs-display); line-height: 1.3; color: #fff; margin: 0 0 22px; }
.dp-hero__lede { font-size: .9rem; color: var(--gold-light); font-weight: 500; margin: -6px 0 14px; }
.dp-hero-copy .dp-hero__sub {
  color: rgba(245,242,237,.68); font-weight: 300; font-size: var(--fs-lede);
  max-width: 460px; margin-bottom: 36px;
  opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out .12s, transform .45s ease-out .12s;
}
.is-revealed .dp-hero-copy .dp-hero__sub { opacity: 1; transform: translateY(0); }
.dp-hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out .2s, transform .45s ease-out .2s;
}
.is-revealed .dp-hero__actions { opacity: 1; transform: translateY(0); }
.dp-hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(245,242,237,.14);
}
.dp-hero-meta__item { display: flex; flex-direction: column; gap: 4px; }
.dp-hero-meta__label { font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.dp-hero-meta__val { font-size: .92rem; font-weight: 600; color: rgba(245,242,237,.92); }
.dp-hero-media { position: relative; overflow: hidden; background: var(--ink-2); }
.dp-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: filter .8s var(--ease-slow), transform 1s var(--ease-slow); transform: scale(1.06); }
.is-revealed .dp-hero-media img { filter: grayscale(0); transform: scale(1); animation: dp-hero-kenburns-split 24s 1s ease-in-out infinite alternate; }
@keyframes dp-hero-kenburns-split {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.dp-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(27,23,18,.35) 0%, transparent 30%);
}
@media (max-width: 900px) {
  .dp-hero--split { grid-template-columns: 1fr; min-height: auto; }
  .dp-hero-media { order: -1; height: 46vw; min-height: 240px; }
  .dp-hero-copy { border-right: none; border-bottom: 1px solid rgba(245,242,237,.12); }
}

/* ---------- Hero: 서브페이지(오버레이형) ---------- */
.dp-hero--sub {
  position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  padding: clamp(96px,12vw,140px) 0 clamp(48px,7vw,72px); overflow: hidden; background: var(--ink);
}
.dp-hero--sub .dp-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.dp-hero--sub .dp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.04); }
.dp-hero--sub.is-revealed .dp-hero-bg img { animation: dp-hero-kenburns 22s ease-in-out infinite alternate; }
@keyframes dp-hero-kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
.dp-hero--sub .dp-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,23,18,.95) 0%, rgba(27,23,18,.55) 55%, rgba(27,23,18,.25) 100%);
}
.dp-hero--sub .container { position: relative; z-index: 2; }
.dp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: .78rem; }
.dp-breadcrumb a { color: rgba(245,242,237,.55); text-decoration: none; }
.dp-breadcrumb a:hover { color: rgba(245,242,237,.85); }
.dp-breadcrumb__sep { color: rgba(245,242,237,.3); }
.dp-breadcrumb__current { color: rgba(245,242,237,.85); }
.dp-hero--sub h1 { color: #fff; }
.dp-hero--sub .dp-hero__sub { color: rgba(245,242,237,.7); margin-bottom: 0; max-width: 620px; }
.dp-hero--sub .dp-cta { margin-top: 28px; }
@media (max-width: 640px) {
  .dp-hero--sub .dp-cta { margin-top: 22px; min-height: 44px; padding: 10px 24px; font-size: .92rem; }
}

.dp-seam { display: none; }

/* ---------- 서비스안내: 포인트 카드(보더그리드) ---------- */
.dp-overview-lede { font-size: 1.08rem; color: var(--ink); max-width: 720px; margin: 8px 0 32px; line-height: 1.55; }
.dp-overview-points {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.dp-overview-points li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 26px; }
.dp-overview-points__tick { display: block; width: 22px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.dp-overview-points h3 { font-size: 1.02rem; margin-bottom: 10px; }
.dp-overview-points p { color: var(--text-sub); font-size: .92rem; margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .dp-overview-points { grid-template-columns: 1fr; } }

/* ---------- USP: 보더그리드 ---------- */
.dp-usp {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.dp-usp__item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 26px; transition: background var(--t); }
@media (hover: hover) and (pointer: fine) { .dp-usp__item:hover { background: var(--white); } }
.dp-usp__tick { display: block; width: 22px; height: 2px; background: var(--gold); margin-bottom: 18px; }
@media (max-width: 1024px) { .dp-usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dp-usp { grid-template-columns: 1fr; } }

/* ---------- 서비스 그리드(에디토리얼) ---------- */
.dp-service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dp-service-card--hidden { display: none !important; }
.dp-service-card__link {
  display: block; text-decoration: none; color: inherit; border: 1px solid var(--line);
  overflow: hidden; position: relative; transition: transform var(--t), border-color var(--t);
}
.dp-service-card__link::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--gold);
  transition: width var(--t-slow); z-index: 2;
}
.dp-service-card__link img, .dp-service-card__link .img-placeholder { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform var(--t-slow); }
.dp-service-card__body { display: block; padding: 18px; }
.dp-service-card__kw { display: block; font-weight: 700; margin-bottom: 6px; }
.dp-service-card__more { font-size: .84rem; color: var(--gold-deep); font-weight: 600; }
.dp-service-card__link--cta { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 220px; background: var(--ink); color: #fff; text-align: center; padding: 20px; }
@media (hover: hover) and (pointer: fine) {
  .dp-service-card__link:hover { transform: translateY(-4px); border-color: var(--ink); }
  .dp-service-card__link:hover::before { width: 100%; }
  .dp-service-card__link:hover img { transform: scale(1.05); }
}
@media (max-width: 1024px) { .dp-service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .dp-service-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-service-card--desktop-only { display: none !important; }
}

/* ---------- 관련 서비스 ---------- */
.dp-related-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dp-related-card { display: block; text-decoration: none; color: inherit; overflow: hidden; background: var(--white); transition: background var(--t); }
@media (hover: hover) and (pointer: fine) { .dp-related-card:hover { background: var(--paper); } }
.dp-related-card img, .dp-related-card .img-placeholder { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform var(--t-slow); }
@media (hover: hover) and (pointer: fine) { .dp-related-card:hover img { transform: scale(1.05); } }
.dp-related-card__body { display: block; padding: 14px; }
.dp-related-card__kw { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.dp-related-card__more { font-size: .78rem; color: var(--gold-deep); }
@media (max-width: 1024px) { .dp-related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .dp-related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 프로세스: 라인 타임라인 ---------- */
.dp-process { list-style: none; margin: 0; padding: 0; display: flex; position: relative; }
.dp-process::before { content: ''; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px; background: var(--line); }
.dp-section--dark .dp-process::before, .dp-section--warm .dp-process::before { background: rgba(0,0,0,.12); }
.dp-process li { flex: 1; padding: 0 16px; text-align: left; position: relative; z-index: 1; opacity: 0; transform: translateY(16px); transition: opacity .35s ease-out, transform .35s ease-out; }
.dp-process li.is-active { opacity: 1; transform: translateY(0); }
.dp-process__num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  font-family: var(--f-mono); font-weight: 600; font-size: .85rem;
  background: var(--gold); color: var(--ink); margin-bottom: 20px;
  transform: scale(.5); transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.dp-process li.is-active .dp-process__num { transform: scale(1); }
@media (max-width: 1024px) { .dp-process { flex-wrap: wrap; } .dp-process li { flex: 0 0 50%; margin-bottom: 32px; } .dp-process::before { display: none; } }
@media (max-width: 560px) { .dp-process li { flex: 0 0 100%; } }

/* ---------- Trust badge ---------- */
.dp-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(245,242,237,.16); border-top: 1px solid rgba(245,242,237,.16); }
.dp-trust__card { border-right: 1px solid rgba(245,242,237,.16); border-bottom: 1px solid rgba(245,242,237,.16); padding: 32px 24px; text-align: center; }
.dp-trust__hl { display: block; font-family: var(--f-mono); font-weight: 600; font-size: 1.15rem; color: var(--gold); margin-bottom: 8px; }
.dp-trust__card p { color: rgba(245,242,237,.6); font-size: .9rem; margin: 0; }
@media (max-width: 768px) { .dp-trust { grid-template-columns: 1fr; } }

/* ---------- 마퀴 ---------- */
.dp-marquee { overflow: hidden; padding: 36px 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); }
.dp-marquee__track { display: flex; width: max-content; animation: dp-marquee-scroll 42s linear infinite; }
@media (hover: hover) and (pointer: fine) { .dp-marquee:hover .dp-marquee__track { animation-play-state: paused; } }
.dp-marquee__item { flex: 0 0 auto; width: 280px; margin-right: 4px; overflow: hidden; }
.dp-marquee__item img, .dp-marquee__item .img-placeholder { aspect-ratio: 4/3; width: 100%; object-fit: cover; filter: grayscale(35%); transition: filter var(--t-slow), transform var(--t-slow); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .dp-marquee__item:hover img { filter: grayscale(0); transform: scale(1.04); } }
@keyframes dp-marquee-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.dp-cases-explore { margin-top: clamp(48px, 8vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-soft); text-align: center; }

/* ---------- FAQ ---------- */
.dp-faq__item { border-bottom: 1px solid var(--line); }
.dp-faq__item:first-child { border-top: 1px solid var(--line); }
.dp-faq__q { width: 100%; text-align: left; background: none; border: none; padding: 20px 4px; font-size: 1.02rem; font-weight: 700; cursor: pointer; position: relative; font-family: var(--f-body); color: inherit; transition: color var(--t); }
.dp-faq__q::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 1.3rem; color: var(--gold); transition: transform var(--t); }
.dp-faq__item.open .dp-faq__q::after { transform: rotate(45deg); }
.dp-faq__a { max-height: 0; overflow: hidden; transition: max-height .22s var(--ease-slow); }
.dp-faq__a p { padding: 0 4px 20px; color: var(--text-sub); }

/* ---------- CTA 배너(스플릿 + 방사형 글로우) ---------- */
.dp-cta-banner { position: relative; overflow: hidden; }
.dp-cta-banner::before {
  content: ''; position: absolute; top: -30%; right: -8%; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb),.16), transparent 70%); pointer-events: none;
}
.dp-cta-banner__inner { position: relative; display: flex; align-items: center; gap: 48px; text-align: left; }
.dp-cta-banner__media { flex: 0 0 260px; overflow: hidden; }
.dp-cta-banner__media img, .dp-cta-banner__media .img-placeholder { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.dp-cta-banner__body { flex: 1; }
.dp-cta-banner__body h2 { margin-bottom: 8px; }
.dp-cta-banner__body p { color: var(--text-sub); margin-bottom: 20px; }
.dp-section--dark .dp-cta-banner__body p { color: rgba(245,242,237,.6); }
@media (max-width: 640px) { .dp-cta-banner__inner { flex-direction: column; text-align: center; } .dp-cta-banner__media { flex: none; width: 100%; } }

/* ---------- 뒤로가기 ---------- */
.dp-back-main { text-align: center; padding: 28px 0; }
.dp-back-main a { color: var(--text-muted); text-decoration: none; font-size: .95rem; transition: color var(--t); }
@media (hover: hover) and (pointer: fine) { .dp-back-main a:hover { color: var(--gold-deep); } }

/* ---------- 갤러리(현장 사진) ---------- */
.dp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dp-gallery img, .dp-gallery .img-placeholder { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
@media (max-width: 560px) { .dp-gallery { grid-template-columns: 1fr; } }

/* ---------- 지역 안내(서비스 페이지) ---------- */
.dp-region-note { border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 28px 30px; display: flex; gap: 20px; align-items: flex-start; background: var(--white); }
.dp-region-note__icon { flex: none; width: 34px; height: 34px; color: var(--gold-deep); }
.dp-region-note__icon svg { width: 100%; height: 100%; }
.dp-region-note__body h2 { font-size: 1.15rem; margin-bottom: 8px; }
.dp-region-note__body p { margin: 0; color: var(--text-sub); font-size: .95rem; }
.dp-region-note__landmark { display: inline-block; font-family: var(--f-mono); font-size: .72rem; color: var(--steel); letter-spacing: .02em; margin-bottom: 10px; }
@media (max-width: 560px) { .dp-region-note { flex-direction: column; gap: 12px; } }

/* ---------- 서비스 지역 태그(메인) - 마퀴형 ---------- */
.dp-area-marquee {
  overflow: hidden; padding: 4px 0 32px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.dp-area-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: 10px; animation: dp-marquee-scroll 32s linear infinite; }
.dp-area-marquee__track li { flex: none; white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--text-sub); border: 1px solid var(--line); padding: 7px 16px; }
@media (hover: hover) and (pointer: fine) { .dp-area-marquee:hover .dp-area-marquee__track { animation-play-state: paused; } }
.dp-area-cta { text-align: center; }

/* ---------- Floating CTA ---------- */
.dp-float-cta {
  position: fixed; right: 20px; bottom: 84px; width: 64px; height: 64px; z-index: 50;
  display: flex; align-items: center; justify-content: center; background: var(--ink-3);
  border-radius: 0; border-left: 3px solid var(--gold); box-shadow: 0 8px 28px rgba(0,0,0,.28);
  color: #fff; text-decoration: none; animation: dp-float-pulse 2.4s ease-in-out infinite;
}
.dp-float-cta__icon { width: 26px; height: 26px; }
@keyframes dp-float-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb),.4); } 50% { box-shadow: 0 0 0 8px rgba(var(--gold-rgb),0); } }

/* ---------- 모바일 하단 바 ---------- */
.dp-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; background: var(--ink-3); }
.dp-mobile-bar__cta { display: block; text-align: center; padding: 16px; color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 768px) { .dp-mobile-bar { display: block; } .dp-float-cta { bottom: 76px; } }

/* ---------- 사이트맵 페이지 ---------- */
.dp-sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dp-sitemap-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--white); text-decoration: none; color: inherit; transition: background var(--t), transform var(--t); }
@media (hover: hover) and (pointer: fine) { .dp-sitemap-card:hover { background: var(--paper); transform: translateX(4px); } }
.dp-sitemap-card__title { font-weight: 700; }
.dp-sitemap-card__desc { font-size: .85rem; color: var(--text-muted); flex: 1; }
.dp-sitemap-card__arrow { color: var(--gold-deep); }
@media (max-width: 768px) { .dp-sitemap-list { grid-template-columns: 1fr; } }

/* ---------- 이미지 플레이스홀더 ---------- */
.img-placeholder { width: 100%; background: var(--paper-2); }
.img-placeholder svg { width: 100%; height: 100%; display: block; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--paper-2); padding: 52px 0 100px; border-top: 1px solid var(--line); }
.ftr-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.ftr-biz { font-size: .92rem; color: var(--text-sub); line-height: 1.75; }
.ftr-quicklinks-title { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.ftr-quicklinks { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.ftr-quicklinks a { text-decoration: none; color: var(--text-sub); transition: color var(--t); }
@media (hover: hover) and (pointer: fine) { .ftr-quicklinks a:hover { color: var(--gold-deep); } }
@media (max-width: 768px) {
  .site-footer { padding-bottom: 120px; }
  .ftr-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal 스크롤 애니메이션 ---------- */
.dp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s ease-out, transform .4s ease-out; }
.dp-reveal.is-visible { opacity: 1; transform: translateY(0); }
.dp-reveal.d-1 { transition-delay: .05s; }
.dp-reveal.d-2 { transition-delay: .1s; }
.dp-reveal.d-3 { transition-delay: .15s; }
.dp-reveal.d-4 { transition-delay: .32s; }

/* ---------- 404 ---------- */
.dp-404 a { color: var(--gold-deep); text-decoration: none; }

/* ---------- Contact 페이지 ---------- */
.dp-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dp-contact-card {
  display: block; text-align: center; text-decoration: none; color: inherit; background: var(--white);
  padding: 48px 44px; min-height: 260px; transition: background var(--t);
}
@media (hover: hover) and (pointer: fine) { .dp-contact-card:hover { background: var(--paper); } }
.dp-contact-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 16px; color: var(--gold); }
.dp-contact-card__phone { display: block; margin-top: 12px; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
@media (max-width: 640px) { .dp-contact-cards { grid-template-columns: 1fr; } }

.dp-info-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dp-info-grid li { padding: 20px 22px; background: var(--white); }
.dp-info-grid__k { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.dp-info-grid__v { display: block; font-weight: 700; }
@media (max-width: 768px) { .dp-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dp-info-grid { grid-template-columns: 1fr; } }

/* ---------- 접근성 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
