@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --font-body: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  --font-kr: "Noto Sans KR", "Pretendard Variable", Pretendard, sans-serif;
  --deep: #2A1F14;
  --accent: #EAD2A8;
  --accent-soft: #F8EFDF;
  --ink: #1A1A1A;
  --ink-soft: #5B5347;
  --bg: #FFFFFF;
  --bg-soft: #F5F4F1;
  --line: #E5E1D8;
  --bar-chrome: #EDF0F2;
  --bar-line: #E5E7EB;
  --shadow-sm: 0 4px 14px rgba(26, 22, 15, 0.08);
  --shadow-md: 0 16px 36px rgba(26, 22, 15, 0.16);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body), var(--font-kr);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nowrap { white-space: nowrap; }

/* ---------- header (B-22: transparent-on-hero, solid-on-scroll) ---------- */
.vs-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.vs-header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.vs-logo { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: #fff; transition: color .3s var(--ease); }
.vs-nav { display: flex; align-items: center; gap: 28px; }
.vs-nav a { font-size: 14.5px; font-weight: 500; color: #fff; white-space: nowrap; transition: color .3s var(--ease), opacity .2s var(--ease); }
.vs-nav a:not(.vs-cta):hover { opacity: .72; }
.vs-nav a.vs-cta {
  padding: 10px 20px; background: var(--accent); color: var(--ink); font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.vs-nav a.vs-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.vs-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.vs-nav-toggle span { width: 22px; height: 2px; background: #fff; transition: background .3s var(--ease); }

.vs-header.scrolled {
  background: var(--bar-chrome);
  border-bottom-color: var(--bar-line);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.vs-header.scrolled .vs-logo,
.vs-header.scrolled .vs-nav a:not(.vs-cta) { color: var(--ink); }
.vs-header.scrolled .vs-nav-toggle span { background: var(--ink); }

.btn-rect { border-radius: 3px; }
.btn-round { border-radius: 10px; }
.btn-pill { border-radius: 999px; }

/* ---------- hero: full-bleed real photo, minimal overlay text ---------- */
.vs-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.vs-hero-media { position: absolute; inset: 0; z-index: 0; }
.vs-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: vsHeroPan 18s var(--ease) infinite alternate;
}
.vs-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,31,20,0.55) 0%, rgba(42,31,20,0.22) 32%, rgba(42,31,20,0.5) 100%);
}
@keyframes vsHeroPan {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.8%, -1.2%); }
}
.vs-hero-content { position: relative; z-index: 2; color: #fff; width: 100%; padding-top: 76px; }
.vs-hero-eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; margin: 0 0 16px; }
.vs-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.18; font-weight: 700; margin: 0 0 16px; }
.vs-hero-sub {
  font-size: clamp(14px, 1.5vw, 17px); color: rgba(255,255,255,0.88); margin: 0 0 34px;
  white-space: nowrap; max-width: 640px;
}
.vs-hero-cta { display: flex; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
/* hero CTA: intentionally secondary in emphasis — outlined, not the dominant hero element */
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.65); color: #fff; padding: 12px 26px; font-size: 14px; }
.btn-ghost-light:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

@media (max-width: 860px) {
  .vs-hero { min-height: 78vh; }
  .vs-hero-sub { white-space: normal; }
}

/* ---------- sub-page top banner: real photo, light overlay (never dark) ---------- */
.vs-page-hero.wrap {
  max-width: none; width: 100%;
  padding-left: max(24px, calc((100vw - 1120px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1120px) / 2 + 24px));
}
.vs-page-hero {
  position: relative;
  padding-top: 140px; padding-bottom: 64px;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 70%);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.vs-page-hero.photo {
  background-image: linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.34)), var(--hero-img);
}
.vs-page-hero-tall { padding-top: 168px; padding-bottom: 88px; }
.vs-eyebrow { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--accent); display: inline-block; padding: 4px 12px; margin-bottom: 14px; }
.vs-page-hero h1 { font-size: clamp(26px, 3.6vw, 42px); margin: 0; font-weight: 700; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.vs-section-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.06em; margin-bottom: 10px; }
.vs-section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 0 0 14px; }
.vs-section-lead { font-size: 15px; color: var(--ink-soft); max-width: 620px; margin: 0 0 40px; }

/* ---------- case section: large photo-forward cards ---------- */
.vs-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.vs-case-grid-full { grid-template-columns: repeat(3, 1fr); }
.vs-case-card { display: block; border: 1px solid var(--line); overflow: hidden; background: var(--bg); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.vs-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vs-case-photo { aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 13px; }
.vs-case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vs-case-card:hover .vs-case-photo img { transform: scale(1.05); }
.vs-case-body { padding: 20px 22px 24px; }
.vs-case-body h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.vs-case-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.vs-case-more { text-align: right; margin-top: 22px; }
.vs-case-more a { color: var(--ink); font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
@media (max-width: 900px) { .vs-case-grid, .vs-case-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vs-case-grid, .vs-case-grid-full { grid-template-columns: 1fr; } }

/* ---------- symptom checklist (key structural differentiator, not numbered cards) ---------- */
.vs-symptom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.vs-symptom-list li { display: flex; gap: 18px; align-items: flex-start; padding: 26px 18px; border-bottom: 1px solid var(--line); }
.vs-symptom-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.vs-symptom-icon { flex-shrink: 0; color: var(--ink); background: var(--accent-soft); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.vs-symptom-text strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.vs-symptom-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 720px) {
  .vs-symptom-list { grid-template-columns: 1fr; }
  .vs-symptom-list li:nth-child(odd) { border-right: none; }
}

/* ---------- process: numbered 1-5 timeline ---------- */
.vs-process-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vs-process-list li { display: flex; gap: 24px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.vs-process-list li:first-child { border-top: 1px solid var(--line); }
.vs-process-no { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--accent); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.vs-process-list h3 { margin: 2px 0 6px; font-size: 16.5px; font-weight: 700; }
.vs-process-list p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- guide teaser / list ---------- */
.vs-guide-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.vs-chip {
  font-size: 13.5px; font-weight: 600; padding: 10px 18px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-soft);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.vs-chip:hover { border-color: var(--ink); color: var(--ink); background: var(--accent-soft); }
.vs-guide-more { font-weight: 600; color: var(--ink); font-size: 13.5px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.vs-guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vs-guide-list li { border-bottom: 1px solid var(--line); }
.vs-guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; transition: padding-left .2s var(--ease); }
.vs-guide-list a:hover { padding-left: 8px; background: var(--bg-soft); }
.vs-guide-list h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 5px; }
.vs-guide-list p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.vs-guide-list .go { font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ---------- faq accordion ---------- */
body { counter-reset: vsfaq; }
.vs-faq-item { border-bottom: 1px solid var(--line); counter-increment: vsfaq; position: relative; padding-left: 40px; }
.vs-faq-item::before {
  content: counter(vsfaq, decimal-leading-zero); position: absolute; left: 2px; top: 24px;
  color: var(--ink-soft); font-weight: 700; font-size: 12.5px;
}
.vs-faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 4px; font-weight: 700; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.vs-faq-item summary::-webkit-details-marker { display: none; }
.vs-faq-item summary::after {
  content: '+'; color: var(--ink); font-weight: 700; font-size: 19px; flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.vs-faq-item[open] summary::after { transform: rotate(45deg); }
.vs-faq-item .a { padding: 0 4px 22px 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- generic copy blocks ---------- */
.vs-copy p { font-size: 15px; line-height: 1.9; color: var(--ink-soft); margin: 0 0 20px; }
.vs-mono-note { font-size: 12px; color: var(--ink-soft); }

.vs-dong-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vs-dong-chip { font-size: 13px; font-weight: 500; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }

.vs-region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.vs-region-grid a { font-size: 13.5px; color: var(--ink-soft); padding: 5px 0; border-bottom: 1px dotted var(--line); transition: color .2s var(--ease); }
.vs-region-grid a:hover { color: var(--ink); }

.vs-point-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vs-point-list li { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); position: relative; padding-left: 22px; }
.vs-point-list li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 7px; height: 7px; background: var(--accent); }

.vs-case-hero-photo { margin: 0 0 32px; }
.vs-case-hero-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.vs-case-pager { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13.5px; border-top: 1px solid var(--line); margin-top: 8px; }

.vs-contact-box { max-width: 560px; text-align: center; }
.vs-contact-box p { color: var(--ink-soft); margin-bottom: 26px; }
.vs-contact-phone { font-size: 22px; padding: 20px 40px; display: flex; margin: 0 auto 14px; width: fit-content; }
.vs-contact-box .btn-ghost { display: inline-flex; margin-bottom: 18px; }

.vs-sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.vs-sitemap-col h2 { margin: 0 0 18px; font-size: 14px; font-weight: 700; color: var(--ink); }
.vs-sitemap-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.vs-sitemap-col a { font-size: 13.5px; color: var(--ink-soft); }
.vs-sitemap-col a:hover { color: var(--ink); }
@media (max-width: 780px) { .vs-sitemap-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- bottom consult bar (B-23) ---------- */
.vs-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--bar-chrome); border-top: 1px solid var(--bar-line);
  box-shadow: 0 -6px 22px rgba(0,0,0,0.08);
  opacity: 0; transform: translateY(100%); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.vs-bar.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.vs-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.vs-bar-text { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.vs-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.vs-bar-actions a { padding: 11px 18px; font-size: 13.5px; font-weight: 600; }
.vs-bar-sms { border: 1px solid var(--ink); color: var(--ink); }
.vs-bar-call { background: var(--accent); color: var(--ink); }
@media (max-width: 560px) { .vs-bar-text { display: none; } }

/* ---------- footer (--deep background, white text) ---------- */
.vs-footer { background: var(--deep); color: #cfc4b4; padding: 70px 0 96px; }
.vs-footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid #453724; }
.vs-footer-brand .vs-logo { font-weight: 700; font-size: 20px; color: #fff; }
.vs-footer-brand p { margin: 10px 0 0; font-size: 13.5px; color: #9a8b73; max-width: 420px; }
.vs-footer-actions { display: flex; gap: 10px; flex-shrink: 0; }
.vs-footer-actions a { padding: 12px 22px; border: 1px solid #4d3f2a; font-size: 13.5px; font-weight: 600; color: #f3ead9; transition: background .2s var(--ease), border-color .2s var(--ease); }
.vs-footer-actions a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.vs-footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 32px 0; border-bottom: 1px solid #453724; }
.vs-footer-nav a { font-size: 13.5px; color: #b3a68e; }
.vs-footer-nav a:hover { color: #fff; }

.vs-footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; padding-top: 24px; }
.vs-footer-bottom .biz { font-size: 12.5px; line-height: 1.85; color: #8a7c65; }
.vs-footer-bottom .biz b { color: #cfc4b4; }
.vs-footer-sitemap-link { font-size: 12.5px; color: #665a44; }
.vs-footer-sitemap-link:hover { color: #cfc4b4; }

@media (max-width: 780px) { .vs-footer-top { flex-direction: column; align-items: flex-start; } }

/* ---------- mobile nav ---------- */
@media (max-width: 860px) {
  .vs-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--deep); flex-direction: column; justify-content: flex-start;
    padding: 34px 24px; gap: 24px; transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .vs-nav.open { transform: translateX(0); }
  .vs-nav a:not(.vs-cta) { color: #f3ead9; font-size: 17px; }
  .vs-header.scrolled .vs-nav a:not(.vs-cta) { color: #f3ead9; }
  .vs-nav-toggle { display: flex; }
}
