/* 신발장문짝교체 — 온픽스. 디자인 시스템: 차콜 네이비 + 웜 코퍼 액센트, 웜 화이트 배경 */
:root {
  /* Primary — 차콜 네이비 */
  --c-primary:   #1F2A37;
  --c-primary-2: #2B3A4D;
  --c-primary-3: #566579;

  /* Accent — 웜 코퍼 */
  --c-accent:    #C77B3F;
  --c-accent-2:  #E3A874;

  /* Background — 웜 화이트/그레이지 */
  --c-bg:        #FAF8F5;
  --c-bg-soft:   #F3EEE6;
  --c-bg-warm:   #EAE1D2;

  /* Border */
  --c-border:    #DED4C2;
  --c-border-2:  #EBE4D7;

  /* Text */
  --c-text:      #24211D;
  --c-text-sub:  #56504A;
  --c-text-light:#8C857C;
  --c-white:     #FFFFFF;

  --c-pattern:   rgba(31,42,55,0.05);

  /* Typography — Pretendard 고정 */
  --font-display: 'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;
  --font-body:    'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.625rem;
  --fs-3xl:  2rem;
  --fs-4xl:  2.5rem;
  --fs-5xl:  3.25rem;

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --trans-fast: 150ms ease;
  --trans-base: 250ms ease;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px rgba(31,42,55,0.08);
  --shadow-md: 0 8px 24px rgba(31,42,55,0.13);
  --shadow-lg: 0 16px 40px rgba(31,42,55,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image: radial-gradient(var(--c-pattern) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  background-attachment: fixed;
  word-break: keep-all;
  overflow-wrap: break-word;
}
section.block:nth-of-type(even):not(.cta-photo) {
  background: linear-gradient(180deg, rgba(243,238,230,0.7), rgba(243,238,230,0.7));
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  line-height: 1.35;
  word-break: keep-all;
  margin: 0 0 var(--space-4);
  color: var(--c-text);
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
p { margin: 0 0 var(--space-4); word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--space-6); }
table { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border-2);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: var(--fs-lg); color: var(--c-primary); }
.site-logo .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--c-primary); color: var(--c-white); font-size: var(--fs-sm); font-weight: var(--fw-bold);
}
.site-nav { display: flex; align-items: center; gap: var(--space-8); }
.nav-cta-btn {
  background: var(--c-primary); color: var(--c-white) !important;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm);
  font-weight: var(--fw-bold) !important;
  animation: pulse-ring 3s infinite;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-outline {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  transition: background var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
  cursor: pointer; border: none;
}
.btn-primary::after, .btn-secondary::after, .btn-outline::after {
  content: ''; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; transform: skewX(-22deg);
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.38), transparent);
  transition: left .6s ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after, .btn-outline:hover::after { left: 150%; }
.btn-primary { background: var(--c-primary); color: var(--c-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--c-primary-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--c-accent); color: var(--c-white); }
.btn-secondary:hover { background: var(--c-accent-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-3px); }
.btn-sm { padding: var(--space-3) var(--space-5); font-size: var(--fs-sm); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(31,42,55,0.35); }
  70%  { box-shadow: 0 0 0 12px rgba(31,42,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,42,55,0); }
}

/* ---------- Hero (사진 배경 슬라이드쇼) ---------- */
.hero { position: relative; overflow: hidden; min-height: min(72vh, 660px); display: flex; align-items: flex-end; }
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-base, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: opacity, transform; }
.hero-base { z-index: 0; animation: kenBurns 20s ease-in-out infinite alternate; }
.hero-slide { z-index: 1; opacity: 0; animation: heroCross 18s ease-in-out infinite, kenBurns 18s ease-in-out infinite alternate; }
.hero-slide:nth-of-type(odd)  { transform-origin: left center; }
.hero-slide:nth-of-type(even) { transform-origin: right bottom; }
@keyframes heroCross { 0% { opacity: 0; } 4% { opacity: 1; } 32% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kenBurns { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(31,42,55,0.35) 0%, rgba(31,42,55,0.55) 60%, rgba(31,42,55,0.78) 100%); }
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; z-index: 3; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-3) 45%, var(--c-accent) 100%);
}
.hero .container { position: relative; z-index: 4; width: 100%; }
.hero-inner { max-width: 700px; padding: var(--space-20) 0 var(--space-16); }
.hero-kicker { display: inline-block; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-accent-2); letter-spacing: 0.02em; margin-bottom: var(--space-4); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 3px 22px rgba(0,0,0,0.5); }
.hero-sub { color: #fff; font-size: var(--fs-lg); max-width: 56ch; margin: var(--space-5) 0 var(--space-8); text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 2px 16px rgba(0,0,0,0.5); }
.hero-sub strong { color: var(--c-accent-2); }
.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.btn-outline.btn-on-dark { color: #fff; border-color: rgba(255,255,255,0.9); background: rgba(20,26,34,0.25); backdrop-filter: blur(2px); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.btn-outline.btn-on-dark:hover { background: #fff; color: var(--c-primary); border-color: #fff; text-shadow: none; }

@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-kicker { animation: heroUp .7s .05s cubic-bezier(.2,.75,.25,1) both; }
.hero h1      { animation: heroUp .8s .16s cubic-bezier(.2,.75,.25,1) both; }
.hero-sub     { animation: heroUp .8s .32s cubic-bezier(.2,.75,.25,1) both; }
.hero-cta     { animation: heroUp .8s .48s cubic-bezier(.2,.75,.25,1) both; }

/* ---------- Sections ---------- */
section.block { padding: var(--space-16) 0; }
.section-head { max-width: 720px; margin: 0 0 var(--space-8); }
.section-head p { color: var(--c-text-sub); }
.section-head h2 { position: relative; display: inline-block; padding-bottom: var(--space-3); }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; background: var(--c-accent); }

/* ---------- Stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: var(--space-4); }
.stat-box { background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius); padding: var(--space-5); }
.stat-box .stat-label { color: var(--c-text-sub); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.stat-box .stat-value { color: var(--c-primary); font-size: var(--fs-xl); font-weight: var(--fw-extrabold); margin-top: var(--space-1); }
.stat-box .stat-note { color: var(--c-text-light); font-size: var(--fs-xs); margin-top: var(--space-1); }

/* ---------- Card grid (서비스/후기/포인트) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.card {
  background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform var(--trans-base); }
.card:hover img { transform: scale(1.06); }
.card-body { padding: var(--space-5); }
.card-body h3 { margin-bottom: var(--space-2); font-size: var(--fs-lg); }
.card-body p { color: var(--c-text-sub); font-size: var(--fs-sm); margin-bottom: 0; }
.card-tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--c-primary); background: var(--c-bg-warm); padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm); margin-bottom: var(--space-2);
}
/* 문의 이동 카드 (그리드 마지막 셀) */
.cta-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary);
  transition: background var(--trans-base), transform var(--trans-base);
}
.cta-card:hover { background: var(--c-primary-2); transform: translateY(-4px); }
.cta-card-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-8) var(--space-5); }
.cta-card-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid rgba(255,255,255,0.7); border-radius: var(--radius-sm); font-size: 1.4rem; font-weight: var(--fw-bold); margin-bottom: var(--space-1); }
.cta-card strong { font-size: var(--fs-lg); }
.cta-card-sub { font-size: var(--fs-sm); opacity: 0.9; line-height: 1.6; margin: 0; }

/* 이미지 없는 정보 카드(만족포인트 등) */
.info-card { background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius); padding: var(--space-5); }
.info-card p:first-child { font-weight: var(--fw-bold); color: var(--c-primary); margin-bottom: var(--space-2); }
.info-card p:last-child { color: var(--c-text-sub); font-size: var(--fs-sm); margin-bottom: 0; }

/* ---------- 전후 비교 ---------- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: 760px; }
.before-after figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.before-after img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.before-after figcaption {
  position: absolute; top: var(--space-3); left: var(--space-3);
  background: var(--c-primary); color: var(--c-white); font-weight: var(--fw-bold);
  font-size: var(--fs-xs); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm);
}
.before-after .after-badge { background: var(--c-accent); }

/* ---------- 프로세스 스텝 ---------- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: var(--space-5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process-step { background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius); padding: var(--space-5); }
.process-step .num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--c-primary); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}
.process-step .num::before { content: counter(step); }
.process-step h3 { font-size: var(--fs-base); margin-bottom: var(--space-1); }
.process-step p { color: var(--c-text-sub); font-size: var(--fs-sm); margin-bottom: 0; }

/* ---------- 비교표 ---------- */
.compare-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); background: var(--c-white); }
.compare-table th, .compare-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--c-border-2); font-size: var(--fs-sm); }
.compare-table thead th { background: var(--c-primary); color: var(--c-white); }
.compare-table tbody tr:nth-child(even) { background: var(--c-bg-soft); }
.compare-table td:first-child { font-weight: var(--fw-bold); color: var(--c-primary); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table-note { color: var(--c-text-light); font-size: var(--fs-xs); margin-top: var(--space-3); }

/* ---------- 목록(왜 필요할까 등) ---------- */
.reason-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-direction: column; gap: var(--space-3); }
.reason-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--c-text-sub); }
.reason-list .dot { margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex: none; }
.reason-list strong { color: var(--c-primary); }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-10); align-items: start; }

/* ---------- FAQ 아코디언 (details/summary, JS 불필요) ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--c-border-2); border-radius: var(--radius); overflow: hidden; background: var(--c-white); }
.faq-q {
  width: 100%; text-align: left; background: var(--c-bg-soft); cursor: pointer;
  padding: var(--space-5) var(--space-6); font-weight: var(--fw-bold); font-size: var(--fs-base);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  list-style: none; transition: background var(--trans-fast);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--c-bg-warm); }
.faq-q .arrow { flex: none; transition: transform var(--trans-base); color: var(--c-accent); }
.faq-item[open] .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: var(--space-1) var(--space-6) var(--space-5); color: var(--c-text-sub); }
.faq-a p { margin: 0; }

/* ---------- 시공 사진 마퀴 ---------- */
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { flex: 0 0 auto; margin: 0 var(--space-4) 0 0; overflow: hidden; box-shadow: var(--shadow-md); border-radius: var(--radius); background: var(--c-white); }
.marquee figure img { width: clamp(280px, 32vw, 420px); aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform var(--trans-base); }
.marquee figure:hover img { transform: scale(1.05); }
.marquee figcaption { padding: var(--space-3) var(--space-4); font-size: var(--fs-sm); color: var(--c-text-sub); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 실제 사진 배경 CTA ---------- */
.cta-photo { position: relative; text-align: center; color: var(--c-white); overflow: hidden;
  background-size: cover; background-position: center; background-attachment: fixed; }
.cta-photo .cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,42,55,0.72), rgba(31,42,55,0.88)); }
.cta-photo .container { position: relative; z-index: 1; }
.cta-photo h2 { color: var(--c-white); }
.cta-photo p { color: rgba(255,255,255,0.9); margin-bottom: var(--space-6); font-size: var(--fs-lg); }
section.block.cta-photo { background-color: transparent; }
@media (max-width: 480px) { .cta-photo { background-attachment: scroll; } }

/* ---------- 상담페이지 전화/문자 카드 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); max-width: 640px; }
.contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); padding: var(--space-8) var(--space-6); border-radius: var(--radius); text-align: center; }
.contact-card.call { background: var(--c-primary); color: var(--c-white); }
.contact-card.call:hover { background: var(--c-primary-2); }
.contact-card.sms { border: 2px solid var(--c-primary); color: var(--c-primary); background: var(--c-white); }
.contact-card.sms:hover { background: var(--c-bg-soft); }
.contact-card .label { font-size: var(--fs-sm); opacity: 0.85; }
.contact-card .value { font-size: var(--fs-2xl); font-weight: var(--fw-extrabold); }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 상담 절차 타임라인 ---------- */
.step-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.step-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.step-list .step-num { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--c-primary); color: var(--c-white); font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.step-list p { margin: 0; padding-top: 4px; font-size: var(--fs-sm); color: var(--c-text-sub); }
.step-list strong { color: var(--c-primary); }

/* ---------- 단색 CTA 배너 ---------- */
.cta-band { background: var(--c-primary); border-radius: var(--radius); padding: var(--space-10) var(--space-8); text-align: center; }
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: var(--c-bg-warm); margin-bottom: var(--space-6); }
.cta-band .btn-primary { background: var(--c-accent); }
.cta-band .btn-primary:hover { background: var(--c-accent-2); }

/* ---------- 플로팅 버튼 (메인 이동 / 모바일 CTA 바) ---------- */
.floating-home {
  position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 90;
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--c-primary); color: var(--c-white);
  font-weight: var(--fw-bold); font-size: var(--fs-sm);
  border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.floating-home:hover { background: var(--c-primary-2); transform: translateY(-3px); }
.floating-home svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .floating-home { right: var(--space-4); bottom: 84px; padding: var(--space-3) var(--space-5); }
  .floating-home span { display: none; }
}
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: var(--space-3); background: var(--c-bg); border-top: 1px solid var(--c-border-2);
  }
  .mobile-cta-bar a {
    display: flex; align-items: center; justify-content: center; gap: var(--space-2);
    padding: var(--space-3); border-radius: var(--radius-sm); font-weight: var(--fw-bold); font-size: var(--fs-sm);
  }
  .mobile-cta-bar .call { background: var(--c-primary); color: var(--c-white); }
  .mobile-cta-bar .sms { border: 2px solid var(--c-primary); color: var(--c-primary); }
  .mobile-cta-bar svg { width: 16px; height: 16px; }
  body { padding-bottom: 76px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--c-primary); color: var(--c-bg-warm); padding: var(--space-10) 0; margin-top: var(--space-16); }
.footer-biz { font-size: var(--fs-sm); line-height: 2; opacity: 0.9; text-align: center; }
.footer-biz strong { color: var(--c-accent-2); }
.footer-copyright { text-align: center; font-size: var(--fs-xs); opacity: 0.6; margin-top: var(--space-4); }

/* ---------- 서비스 안내 그리드 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }

/* ---------- 스크롤 리빌 (JS 미동작 시에도 콘텐츠는 항상 보임 — progressive enhancement) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.25,1); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js .reveal .card, html.js .reveal .process-step, html.js .reveal .stat-box, html.js .reveal .info-card { opacity: 0; }
html.js .reveal.in .card, html.js .reveal.in .process-step, html.js .reveal.in .stat-box, html.js .reveal.in .info-card { animation: riseIn .6s ease both; }
html.js .reveal.in :is(.card,.process-step,.stat-box,.info-card):nth-child(1) { animation-delay: .04s; }
html.js .reveal.in :is(.card,.process-step,.stat-box,.info-card):nth-child(2) { animation-delay: .1s; }
html.js .reveal.in :is(.card,.process-step,.stat-box,.info-card):nth-child(3) { animation-delay: .16s; }
html.js .reveal.in :is(.card,.process-step,.stat-box,.info-card):nth-child(4) { animation-delay: .22s; }
html.js .reveal.in :is(.card,.process-step,.stat-box,.info-card):nth-child(n+5) { animation-delay: .28s; }

/* 유틸 */
.mt-note { color: var(--c-text-light); font-size: var(--fs-xs); }
.eyebrow { display: inline-block; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-accent); letter-spacing: 0.02em; margin-bottom: var(--space-2); }
.lede { font-size: var(--fs-lg); color: var(--c-text-sub); max-width: 68ch; }
.lede strong { color: var(--c-primary); }

/* ---------- 반응형 ---------- */
@media (max-width: 860px) {
  .before-after { grid-template-columns: 1fr; max-width: 420px; }
  .site-nav { gap: var(--space-4); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero { min-height: 62vh; }
  .hero-inner { padding: var(--space-12) 0 var(--space-10); max-width: none; }
  .hero-sub { max-width: none; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-kicker { font-size: 0.8125rem; }
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .container { padding: 0 var(--space-4); }
}
@media (max-width: 480px) {
  section.block { padding: var(--space-10) 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .stat-row {
    grid-template-columns: repeat(3, 1fr); gap: 0;
    background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius); overflow: hidden;
  }
  .stat-box {
    border: none; border-right: 1px solid var(--c-border-2); border-radius: 0;
    padding: 0.55rem 0.25rem; text-align: center;
  }
  .stat-box:last-child { border-right: none; }
  .stat-box .stat-label { font-size: 0.625rem; }
  .stat-box .stat-value { font-size: 0.75rem; margin-top: 2px; line-height: 1.25; }
  .stat-box .stat-note { font-size: 0.5625rem; margin-top: 1px; }

  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero-cta .btn-primary, .hero-cta .btn-outline {
    padding: 0.7rem 0.4rem; font-size: 0.8125rem; width: 100%; box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal .card, .reveal .process-step, .reveal .stat-box, .reveal .info-card { opacity: 1 !important; }
}
