:root {
  /* 색상 — Ice Cold(#9FEAF3) + Kimberly(#6F759B) 컨셉 기반 쿨톤 네이비/시안 팔레트 */
  --ink:          #171B2B;   /* 메인 텍스트 / 다크 섹션 배경 */
  --ink-mid:      #232842;   /* CTA 섹션 배경 */
  --ink-soft:     #545A72;   /* 보조 텍스트(본문 설명) */
  --rust:         #136A7D;   /* 프라이머리 액센트 — 버튼/보더/CTA (WCAG AA 4.5:1 이상 확보) */
  --rust-deep:    #0F5560;   /* 액센트 hover/active */
  --rust-light:   #9FEAF3;   /* Ice Cold 원색 — 배지·다크섹션 강조·배너 배경 */
  --kimberly:     #6F759B;   /* Kimberly 원색 — Ice Cold 배경 위 대형 텍스트 전용(AA Large) */
  --paper:        #F1F5F7;   /* 메인 배경 */
  --paper-mid:    #E4EAED;   /* 서브 배경 */
  --paper-dark:   #CBD5DA;   /* 저채도 대형 숫자 등 */
  --white:        #FFFFFF;   /* 카드 배경 */
  --border:       #C6D0D6;   /* 라이트 보더 */
  --border-dark:  #171B2B;

  --text-on-light: #171B2B;
  --text-on-dark:  #FFFFFF;

  --f-sans: 'Wanted Sans Variable', 'Wanted Sans', 'Noto Sans KR', sans-serif;

  --fs-display: clamp(3.4rem, 9vw, 8rem);
  --fs-h1:      clamp(2.6rem, 5.5vw, 5rem);
  --fs-h2:      clamp(1.8rem, 3vw, 2.8rem);
  --fs-h3:      clamp(1.1rem, 1.8vw, 1.4rem);
  --fs-body:    clamp(0.9rem, 1.3vw, 1rem);
  --fs-small:   0.83rem;
  --fs-label:   0.75rem;

  --sp:       clamp(72px, 9vw, 128px);
  --sp-sm:    clamp(48px, 6vw, 80px);
  --max-w:    1200px;
  --col:      clamp(16px, 4vw, 48px);

  --t:        0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.6s  cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  :root {
    --sp:    clamp(40px, 8vw, 64px);
    --sp-sm: clamp(28px, 6vw, 44px);
  }
}
@media (max-width: 480px) {
  :root {
    --fs-display: clamp(2.8rem, 13vw, 4rem);
    --fs-h1:      clamp(2rem, 8vw, 2.8rem);
    --fs-h2:      clamp(1.4rem, 5vw, 1.9rem);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.03em; }
table { border-collapse: collapse; width: 100%; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--col); }
.table-scroll { overflow-x: auto; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--rust); z-index: 9999; }

/* ── 그리드 유틸(고정 인라인 grid 금지, 클래스로만) ── */
.dp-g2  { display:grid; grid-template-columns:1fr 1fr; gap:24px }
.dp-g3  { display:grid; grid-template-columns:repeat(3,1fr); gap:20px }
.dp-stat3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center; align-items:center }
@media(max-width:768px) { .dp-g2,.dp-g3 { grid-template-columns:1fr } }
@media(max-width:600px) { .dp-stat3 { grid-template-columns:1fr; gap:16px } }

/* ── 라벨 태그 ── */
.label-tag {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  padding-left: 20px;
  position: relative;
}
.label-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px; background: var(--rust);
}
.label-tag--light { color: var(--rust-light); }
.label-tag--light::before { background: var(--rust-light); }

/* ── 헤더/내비 ── */
.site-header { position: fixed; top:0; left:0; right:0; z-index:1000;
  background: var(--paper); border-bottom: 1px solid var(--border);
  transition: border-color var(--t); }
.site-header.scrolled { border-bottom-color: var(--ink); }
.nav-inner { display:flex; align-items:center; height:64px; padding:0 var(--col);
  max-width: calc(var(--max-w) + var(--col)*2); margin:0 auto; gap:40px; }
.site-logo { display:flex; align-items:center; }
.logo-text { font-size:1.05rem; font-weight:900; letter-spacing:-0.03em; line-height:1.3; }
.logo-sub  { font-size:0.7rem; font-weight:500; color: var(--ink-soft); line-height:1.3; }
.main-nav { display:flex; align-items:center; gap:2px; margin-left:auto; }
.main-nav a { font-size:0.85rem; font-weight:500; color:var(--ink-soft); padding:8px 12px; line-height:1.4;
  transition: color var(--t); border-bottom:2px solid transparent; }
.main-nav .nav-cta { margin-left:8px; background:var(--ink); color:var(--white); line-height:1.4;
  padding:10px 20px; font-weight:700; font-size:0.85rem; transition: background var(--t); }
.nav-toggle { display:none; flex-direction:column; justify-content:center; gap:5px;
  width:32px; height:32px; position:relative; z-index:1003; }
.nav-toggle span { display:block; width:100%; height:2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--ink); }
  .main-nav .nav-cta:hover { background: var(--rust); }
  .btn-primary:hover { background: var(--rust); }
  .btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
  .btn-outline-dark:hover { background: var(--paper); color: var(--ink); }
  .btn-rust:hover { background: var(--rust-deep); }
  .case-card:hover { border-color: var(--ink); }
  .case-card:hover .case-img img { transform: scale(1.04); }
  .service-item:hover { background: rgba(255,255,255,0.06); }
  .nseo-card:hover { background: var(--paper); }
  .nseo-card:hover .nseo-card-img img { transform: scale(1.04); }
  .nseo-card-more:hover { background: var(--ink-mid); border-color: var(--rust-light); }
  .nseo-card-more:hover .nseo-card-more-icon { border-color: var(--rust-light); color: var(--rust-light); }
  .floating-consult:hover { background: var(--rust-deep); transform: translateY(-2px); }
  .consult-card:hover { border-color: var(--ink); background: var(--paper); }
  .consult-card.tel-card:hover, .consult-card.sms-card:hover { border-color: var(--rust); }
  .sitemap-filter-btn:hover { background: var(--ink); color: var(--white); }
}

@media(max-width:768px) {
  .nav-toggle { display:flex; }
  .main-nav {
    position: fixed; top:0; right:-100%;
    width: min(280px, 85vw); height: 100vh; height: 100dvh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 80px 24px 32px; border-left: 1px solid var(--border);
    transition: right 0.35s cubic-bezier(0.22,1,0.36,1);
    z-index: 1002; gap: 4px;
  }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--paper-mid); }
  body.nav-lock { overflow: hidden; }
}

/* ── Hero (메인, 이미지 좌측/텍스트 우측) ── */
.hero { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 65px; background: var(--paper); }
.hero-media { position:relative; overflow:hidden; order: 1; }
.hero-media .hero-slide { position:absolute; inset:0; opacity:0; animation: heroFade 12s infinite; }
.hero-media .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-media .hero-slide:nth-child(2) { animation-delay: 4s; }
.hero-media .hero-slide:nth-child(3) { animation-delay: 8s; }
@keyframes heroFade {
  0% { opacity:0; }
  6% { opacity:1; }
  30% { opacity:1; }
  38% { opacity:0; }
  100% { opacity:0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-slide { animation-play-state: paused; opacity:0; }
  .hero-media .hero-slide:first-child { opacity:1; }
}
.hero-media img { width:100%; height:100%; object-fit:cover; }
.hero-content { display:flex; flex-direction:column; justify-content:center; order: 2;
  padding: clamp(48px,6vw,80px) var(--col);
  padding-right: max(var(--col), calc((100vw - var(--max-w))/2 + var(--col)));
  border-left: 1px solid var(--border); }
.hero-eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.hero-eyebrow-line { width:40px; height:1px; background: var(--rust); }
.hero-eyebrow-text { font-size: var(--fs-label); font-weight:700; letter-spacing:0.18em;
  text-transform:uppercase; color: var(--rust); }
.hero-content h1 { font-size: var(--fs-display); line-height:0.97; letter-spacing:-0.05em; margin-bottom:28px; }
.hero-desc { font-size:1rem; font-weight:400; color:var(--ink-soft); line-height:1.85;
  max-width:420px; margin-bottom:40px; }
.hero-cta-row { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero-meta { margin-top:56px; display:flex; gap:32px; padding-top:32px;
  border-top:1px solid var(--border); flex-wrap:wrap; }
.hero-meta-item { display:flex; flex-direction:column; gap:4px; }
.hero-meta-num { font-size:0.7rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--rust); margin-bottom:4px; }
.hero-meta-val { font-size:0.9rem; font-weight:600; color: var(--ink); }

@media(max-width:1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; height: 56vw; max-height: 480px; }
  .hero-content { order: 2; border-left:none; border-top:1px solid var(--border); padding-right: var(--col); }
}
@media(max-width:768px) { .hero-media { height: 52vw; } }
@media(max-width:480px) { .hero-media { height: 60vw; } }

/* ── 서브페이지 Hero(오버레이 다크형) ── */
.sub-hero { min-height:56vh; position:relative; display:flex; align-items:flex-end;
  padding-bottom:56px; padding-top:65px; overflow:hidden; background: var(--ink); }
.sub-hero-img { position:absolute; inset:0; }
.sub-hero-img img { width:100%; height:100%; object-fit:cover; }
.sub-hero-overlay { position:absolute; inset:0;
  background: linear-gradient(to top, rgba(23,27,43,0.92) 0%, rgba(23,27,43,0.50) 55%, rgba(23,27,43,0.15) 100%); }
.sub-hero-content { position:relative; z-index:2;
  max-width: calc(var(--max-w) + var(--col)*2); margin:0 auto; padding:0 var(--col); }
.sub-hero h1 { color: var(--white); font-size: var(--fs-h1); }
.sub-hero p  { color: rgba(255,255,255,0.75); font-size:1rem; margin-top:12px;
  max-width:520px; font-weight:400; }
.sub-hero-cta { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
@media(max-width:768px) { .sub-hero { min-height:46vh; } .sub-hero h1 { font-size: clamp(1.9rem, 8vw, 3rem); } }

/* ── 서비스 태그 마퀴 ── */
.service-strip { background: var(--ink); overflow:hidden; white-space:nowrap; }
.service-strip-inner { display:inline-flex; animation: marquee 24s linear infinite; }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.strip-item { display:inline-flex; align-items:center; gap:16px; padding:14px 32px;
  font-size: var(--fs-small); font-weight:600; color: rgba(255,255,255,0.6);
  letter-spacing:0.08em; text-transform:uppercase; border-right:1px solid rgba(255,255,255,0.08); }
.strip-item-dot { width:4px; height:4px; border-radius:50%; background: var(--rust-light); }
@media (prefers-reduced-motion: reduce) { .service-strip-inner { animation-play-state: paused; } }

/* ── 시공사례 마퀴/그리드 ── */
.cases-section { background: var(--paper); padding: var(--sp) 0; overflow:hidden; }
.cases-marquee-wrap { overflow:hidden; position:relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.cases-marquee-track { display:flex; gap:2px; width:max-content; animation: cases-scroll 32s linear infinite; }
@keyframes cases-scroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (hover: hover) and (pointer: fine) { .cases-marquee-wrap:hover .cases-marquee-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .cases-marquee-track { animation-play-state: paused; } }

.cases-grid { display:grid; grid-template-columns:repeat(3,1fr); border-left:1px solid var(--border); border-top:1px solid var(--border); }
.case-card { border-right:1px solid var(--border); border-bottom:1px solid var(--border); width:340px; flex-shrink:0; background: var(--white);
  transition: border-color var(--t); overflow:hidden; }
.cases-grid .case-card { width:auto; }
.case-img { position:relative; aspect-ratio:16/9; overflow:hidden; }
.case-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s var(--t-slow); }
.ba-pair { display:grid; grid-template-columns:1fr 1fr; height:100%; gap:1px; background: var(--border); }
.ba-label { position:absolute; bottom:6px; left:6px; font-size:0.68rem; font-weight:800;
  letter-spacing:0.1em; padding:2px 8px; text-transform:uppercase; }
.ba-label.before { background: var(--ink); color: var(--white); }
.ba-label.after  { background: var(--rust); color: var(--white); }
.case-body { padding:14px 18px 16px; }
.case-num { font-size:0.7rem; font-weight:700; letter-spacing:0.1em; color: var(--rust); margin-bottom:8px; }
.case-title { font-size:0.95rem; font-weight:800; color: var(--ink); margin-bottom:6px; letter-spacing:-0.02em; }
.case-desc { font-size:0.82rem; color: var(--ink-soft); line-height:1.6; }
@media(max-width:1024px) { .cases-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .cases-grid { grid-template-columns:1fr; } }

/* ── 서비스 섹션(다크 그리드) ── */
.services-section { background: var(--ink); padding: var(--sp) 0; }
.services-head { display:flex; justify-content:space-between; align-items:flex-end; padding-bottom:40px; flex-wrap:wrap; gap:16px; }
.services-head h2 { color: var(--white); margin-top:12px; }
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); border-left:1px solid rgba(255,255,255,0.08); }
.services-grid .service-item:last-child { grid-column: span 2; }
.service-item { padding:40px 28px; border-right:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.08); transition: background var(--t); }
.service-item-num { font-size:0.7rem; font-weight:700; letter-spacing:0.12em; color: var(--rust-light);
  margin-bottom:24px; display:block; }
.service-item h3 { font-size:1rem; font-weight:800; color: var(--white); margin-bottom:12px; }
.service-item p { font-size:0.83rem; color: rgba(255,255,255,0.6); line-height:1.7; }

.service-grid-light { display:grid; grid-template-columns:repeat(4,1fr); border-left:1px solid var(--border); border-top:1px solid var(--border); }
.service-grid-light .nseo-card { border-color: var(--border); }
@media(max-width:1024px) { .services-grid, .service-grid-light { grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .service-item { padding:28px 20px; } }

/* ── 특징 밴드 ── */
.features-band { background: var(--rust-light); }
.features-band-inner { display:grid; grid-template-columns:repeat(4,1fr); border-left:1px solid rgba(0,0,0,0.1); }
.feature-item { padding:36px 28px; border-right:1px solid rgba(0,0,0,0.1); display:flex; flex-direction:column; gap:8px; }
.feature-label { font-size:0.7rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color: rgba(23,27,43,0.75); }
.feature-value { font-size:1.05rem; font-weight:900; color: var(--ink); letter-spacing:-0.02em; }
@media(max-width:1024px) { .features-band-inner { grid-template-columns:repeat(2,1fr); } }

/* ── 프로세스 스텝 ── */
.process-section { background: var(--paper); padding: var(--sp) 0; border-top:1px solid var(--border); }
.proc-list { display:flex; list-style:none; margin-top:56px; }
.proc-step { flex:1; position:relative; padding:32px 24px; text-align:left; border-right:1px solid var(--border); }
.proc-step:not(:last-child)::after {
  content:''; position:absolute; top:56px; left:50%; width:100%; height:2px;
  background:var(--border); z-index:0;
}
.proc-num {
  position:relative; z-index:1; margin-bottom:20px; width:48px; height:48px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--white); border: 1.5px solid var(--rust); color: var(--rust);
  font-weight:800; font-size:1.1rem;
}
.proc-step h4 { font-size:0.9rem; font-weight:800; color: var(--ink); margin-bottom:8px; }
.proc-step p { font-size:0.8rem; color: var(--ink-soft); line-height:1.65; }
@media(max-width:768px) {
  .proc-list { flex-direction:column; gap:10px }
  .proc-step { padding:24px 16px; border-right:none; text-align:center; }
  .proc-step::after { display:none }
  .proc-num { margin-left:auto; margin-right:auto; }
}

/* ── 연관 카드(NSEO) ── */
.nseo-section { background: var(--paper-mid); padding: var(--sp) 0; border-top:1px solid var(--border); }
.nseo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  border-left:1px solid var(--border); border-top:1px solid var(--border); margin-top:48px; }
.nseo-card { display:block; border-right:1px solid var(--border); border-bottom:1px solid var(--border);
  background: var(--white); transition: background var(--t); overflow:hidden; }
.nseo-card-img { aspect-ratio:16/9; overflow:hidden; border-bottom:1px solid var(--border); }
.nseo-card-img img { transition: transform 0.5s var(--t-slow); }
.nseo-badge { font-size:0.68rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--ink-soft); margin-bottom:8px; }
.nseo-badge.current { color: var(--rust); }
.nseo-card h3 { font-size:0.95rem; font-weight:800; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding: 0 20px; margin-top: 14px; }
.nseo-card p { font-size:0.8rem; color:var(--ink-soft); line-height:1.55; padding: 0 20px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nseo-card-arrow { margin-top:14px; padding: 0 20px 20px; font-size:0.78rem; font-weight:700; color: var(--rust); }
.nseo-card-more { background: var(--ink); border-color: var(--ink); display:flex !important; align-items:center; gap:14px; padding:24px; }
.nseo-card-more-icon { width:48px; height:48px; border:1px solid rgba(255,255,255,0.2); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,0.5);
  transition: border-color var(--t), color var(--t); }
.nseo-card-more span { color: var(--white); font-weight:700; font-size:0.9rem; }
@media(max-width:768px) { .nseo-grid { grid-template-columns:repeat(2,1fr); } }

/* ── CTA 섹션 ── */
.cta-section { background: var(--ink-mid); padding: var(--sp) 0; border-top:1px solid rgba(255,255,255,0.06); }
.cta-inner { display:grid; grid-template-columns:1fr auto; align-items:center; gap:48px; }
.cta-label { color: var(--rust-light); margin-bottom:16px; }
.cta-label::before { background: var(--rust-light); }
.cta-section h2 { font-size: clamp(2rem,4vw,3.2rem); color: var(--white); margin-bottom:16px; }
.cta-desc { font-size:0.95rem; color: rgba(255,255,255,0.6); font-weight:400; line-height:1.8; max-width:480px; }
.cta-badges { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.cta-badge { font-size:0.78rem; color: rgba(255,255,255,0.55); display:flex; align-items:center; gap:8px; }
.cta-badge::before { content:'—'; color: var(--rust-light); }
@media(max-width:1024px) { .cta-inner { grid-template-columns:1fr; } }

/* ── FAQ(details/summary, JS 불필요) ── */
.faq-layout { display:grid; grid-template-columns:1fr 2fr; gap:64px; align-items:start; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style:none; cursor:pointer; width:100%; display:flex; justify-content:space-between;
  align-items:flex-start; padding:20px 0; gap:16px; font-size:0.95rem; font-weight:700; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; flex-shrink:0; width:22px; height:22px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-weight:400; transition: all var(--t); }
.faq-item[open] summary::after { background: var(--ink); color: var(--white); border-color: var(--ink); transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--ink-soft); font-size:0.88rem; line-height:1.75; }
@media(max-width:768px) { .faq-layout { grid-template-columns:1fr; gap:24px; } }

/* ── 카드 뱃지 ── */
.card-badges { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:768px) { .card-badges { flex-direction:column; align-items:flex-start; gap:6px; } }
.badge { font-size:0.72rem; font-weight:700; padding:4px 10px; border:1px solid var(--border); color: var(--ink-soft); }
.badge a { color: var(--rust); text-decoration: underline; text-underline-offset: 2px; }

/* ── 버튼 ── */
.btn-primary { background: var(--ink); color: var(--white); padding:14px 28px;
  font-size:0.9rem; font-weight:700; letter-spacing:0.03em; transition: background var(--t); display:inline-block; }
.btn-ghost { color: var(--ink-soft); font-size:0.85rem; font-weight:500;
  border-bottom:1px solid var(--border); padding-bottom:2px;
  transition: color var(--t), border-color var(--t); display:inline-block; }
.btn-outline-dark { border:1.5px solid var(--white); color: var(--white); padding:12px 24px;
  font-size:0.88rem; font-weight:600; transition: background var(--t), color var(--t); display:inline-block; }
.btn-rust { background: var(--rust); color: var(--white); padding:14px 28px;
  font-size:0.9rem; font-weight:700; transition: background var(--t); display:inline-block; }

/* ── Floating / Sticky ── */
.floating-btns { position:fixed; bottom:28px; right:24px; z-index:999;
  display:flex; flex-direction:column; gap:10px; transition: bottom 0.25s ease; align-items:flex-end; }
.floating-consult { display:flex; align-items:center; gap:10px; background: var(--rust); color: var(--white);
  padding:12px 18px; font-size:0.85rem; font-weight:700;
  box-shadow: 0 4px 20px rgba(19,106,125,0.35); position:relative; }
.pulse-ring { position:absolute; inset:-3px; border:1.5px solid rgba(19,106,125,0.4); animation: pulse-ring 3s infinite; }
@keyframes pulse-ring { 0%{transform:scale(1);opacity:0.8;} 70%,100%{transform:scale(1.06);opacity:0;} }
.floating-top { display:none; width:40px; height:40px; background: var(--ink); color: var(--white);
  align-items:center; justify-content:center; }
.floating-top.visible { display:flex; }

.sticky-cta { display:none; position:fixed; bottom:0; left:0; right:0; z-index:1001;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.sticky-cta a { flex:1; display:flex; align-items:center; justify-content:center;
  gap:8px; padding:15px 8px; min-height:54px; font-size:0.9rem; font-weight:700; }
.sticky-tel { background: var(--ink); color: var(--white); }
.sticky-sms { background: var(--rust); color: var(--white); }
.sticky-full { flex: 1 1 100%; }
@media(max-width:768px) {
  .sticky-cta.visible { display:flex; }
  body.sticky-active .floating-btns { bottom:70px; }
  body { padding-bottom: 64px; }
}
body:not(.has-sticky) { padding-bottom: 0; }

/* ── 리빌 애니메이션 ── */
.reveal { opacity:0; transform: translateY(20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal-left  { opacity:0; transform: translateX(-20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal-right { opacity:0; transform: translateX(20px);  transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity:1; transform:none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity:1; transform:none; transition:none; }
}

/* ── 브레드크럼/배너 ── */
.breadcrumb { background: var(--paper-mid); border-bottom:1px solid var(--border); padding:10px 0; margin-top:65px; font-size:0.82rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--rust); text-decoration: underline; text-underline-offset: 2px; }
.banner-inner { border:1px solid var(--border); background: var(--paper-mid); padding:24px 28px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }

/* ── 상담 페이지 ── */
.consult-hero { background: var(--ink); padding:120px 0 60px; text-align:center; }
.consult-hero h1 { color: var(--white); }
.consult-hero p { color: rgba(255,255,255,0.65); margin-top:12px; }
.consult-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; max-width:640px; margin:48px auto 0; }
.consult-card { background: var(--white); border:1px solid var(--border); padding:36px 32px; text-align:center; transition: border-color var(--t), background var(--t); }
.consult-card .cc-icon { width:48px; height:48px; margin:0 auto 16px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); color: var(--rust); }
.consult-card h3 { font-size:1rem; margin-bottom:8px; }
.consult-card p { font-size:0.82rem; color: var(--ink-soft); }
.consult-info-box { border:1px solid var(--border); padding:28px 32px; background: var(--paper-mid); margin-top:40px; }
@media(max-width:768px) { .consult-cards { grid-template-columns:1fr; } }

/* ── 사이트맵 페이지 ── */
.sitemap-hero { background: var(--ink); padding:100px 0 48px; text-align:center; }
.sitemap-hero h1 { color: var(--white); }
.sitemap-filters { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin:32px 0 0; }
.sitemap-filter-btn { padding:8px 16px; border:1px solid var(--border); background: var(--white); font-size:0.85rem; font-weight:600; transition: all var(--t); }
.sitemap-filter-btn.active { background: var(--ink); color: var(--white); }
.sitemap-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:2px;
  border-left:1px solid var(--border); border-top:1px solid var(--border); margin: 40px 0; }
.sitemap-card { background: var(--white); border-right:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:18px 16px; display:flex; flex-direction:column; gap:6px; }
.sitemap-card .sm-cat { font-size:0.68rem; font-weight:700; color: var(--rust); text-transform:uppercase; letter-spacing:0.08em; }
.sitemap-card .sm-title { font-size:0.88rem; font-weight:700; color: var(--ink); }

/* ── 가이드(AEO) 컴포넌트 ── */
.guide-body { padding: var(--sp) 0; }
.guide-intro { font-size:1rem; color: var(--ink-soft); max-width: 720px; margin-bottom: var(--sp-sm); line-height:1.9; }
.guide-section { margin-bottom: var(--sp-sm); }
.guide-section h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.checklist { border:1px solid var(--border); background: var(--white); }
.checklist li { display:flex; gap:14px; padding:16px 20px; border-bottom:1px solid var(--border); align-items:flex-start; }
.checklist li:last-child { border-bottom:none; }
.checklist li .ck-mark { flex-shrink:0; width:22px; height:22px; border:1.5px solid var(--rust); color: var(--rust);
  display:flex; align-items:center; justify-content:center; font-size:0.75rem; font-weight:800; }
.timeline { border-left:2px solid var(--border); margin-left:12px; }
.timeline li { position:relative; padding:0 0 32px 28px; }
.timeline li:last-child { padding-bottom:0; }
.timeline li::before { content:''; position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%; background: var(--rust); border:2px solid var(--paper); }
.timeline li h4 { font-size:0.95rem; font-weight:800; margin-bottom:6px; }
.timeline li p { font-size:0.85rem; color: var(--ink-soft); }
.compare-table th, .compare-table td { border:1px solid var(--border); padding:14px 16px; text-align:left; font-size:0.85rem; }
.compare-table th { background: var(--ink); color: var(--white); font-weight:700; }
.compare-table tr:nth-child(even) td { background: var(--paper-mid); }
.stat-block { border:1px solid var(--border); background: var(--white); padding: 28px 24px; text-align:center; }
.stat-block .stat-num { font-size: clamp(2rem,4vw,2.8rem); font-weight:900; color: var(--rust); }
.stat-block .stat-label { font-size:0.8rem; color: var(--ink-soft); margin-top:6px; }

/* ── 사이트 푸터 ── */
.site-footer { background: var(--ink); padding: 64px 0 28px; }
.footer-grid { margin-bottom: 40px; }
.footer-col h4 { font-size:0.7rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color: var(--rust-light); margin-bottom:16px; }
.footer-col p { font-size:0.82rem; color: rgba(255,255,255,0.6); line-height:1.9; }
.footer-col .footer-links { font-size:0.82rem; line-height:2.2; }
.footer-col .footer-links a { color: rgba(255,255,255,0.7); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:20px; font-size:0.75rem; color: rgba(255,255,255,0.55); }

/* ── 시공사례 Before/After 비교 ── */
.compare-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.compare-item { position:relative; border:1px solid var(--border); overflow:hidden; }
.compare-item img { aspect-ratio:16/9; object-fit:cover; }
.compare-tag { position:absolute; top:12px; left:12px; font-size:0.72rem; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; padding:4px 12px; color:var(--white); }
.compare-tag.before { background: var(--ink); }
.compare-tag.after { background: var(--rust); }
.compare-cap { padding:12px 16px; font-size:0.8rem; color: var(--ink-soft); border-top:1px solid var(--border); background: var(--white); }
@media(max-width:600px) { .compare-grid { grid-template-columns:1fr; } }

/* ── 시맨틱 컨테이너 여백 ── */
main { display:block; }
