@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/GmarketSans/GmarketSansMedium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSansBold';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/GmarketSans/GmarketSansBold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --burgundy-950: #2c1019;
  --burgundy-900: #4A1D2C;
  --burgundy-800: #632939;
  --burgundy-700: #7d3548;
  --sand: #E0C097;
  --sand-light: #f3e6d3;
  --cream: #FBF4EC;
  --ink: #2a1a1f;
  --line: #d9c4b3;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'GmarketSansMedium', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'GmarketSansBold', 'Malgun Gothic', sans-serif; line-height: 1.35; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.site-header {
  background: var(--burgundy-950);
  border-bottom: 4px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: 'GmarketSansBold', sans-serif;
  color: var(--sand);
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--sand-light);
  text-decoration: none;
  font-size: .92rem;
  padding: 10px 2px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--sand);
  border-bottom-color: var(--sand);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sand);
  color: var(--sand);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.btn-header {
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'GmarketSansBold', sans-serif;
  font-size: .95rem;
  min-height: 44px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-header {
  background: var(--sand);
  color: var(--burgundy-950);
}
.btn-accent {
  background: var(--sand);
  color: var(--burgundy-950);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.btn:hover { transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--burgundy-950) 0%, var(--burgundy-900) 55%, var(--burgundy-800) 100%);
  color: var(--sand-light);
  padding: 72px 20px 84px;
}
.hero-inner { max-width: 780px; margin: 0 auto; text-align: left; }
.eyebrow {
  color: var(--sand);
  text-transform: none;
  letter-spacing: .04em;
  font-size: .9rem;
  margin-bottom: 14px;
  font-family: 'GmarketSansBold', sans-serif;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--sand-light);
  max-width: 640px;
}
.hero-cta { margin-top: 28px; }

/* ===== Sections ===== */
.section { padding: 64px 20px; }
.section-alt { background: var(--sand-light); }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-inner h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: var(--burgundy-900);
  border-left: 6px solid var(--sand);
  padding-left: 16px;
}
.section-desc { color: var(--burgundy-800); margin-bottom: 32px; }

/* ===== Timeline ===== */
.timeline {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(var(--burgundy-800), var(--sand));
}
.timeline-step {
  position: relative;
  padding-left: 76px;
  margin-bottom: 40px;
}
.timeline-step:last-child { margin-bottom: 0; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--burgundy-900);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'GmarketSansBold', sans-serif;
  font-size: 1.05rem;
  border: 3px solid var(--sand);
  z-index: 1;
}
.step-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
}
.step-body h3 {
  color: var(--burgundy-900);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step-body p { margin: 0; color: var(--ink); }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; margin-top: 24px; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
thead th {
  background: var(--burgundy-900);
  color: var(--sand-light);
  font-family: 'GmarketSansBold', sans-serif;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--sand-light); }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== Caution list ===== */
.caution-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.caution-list li {
  background: var(--white);
  border-left: 5px solid var(--burgundy-800);
  border-radius: 10px;
  padding: 18px 22px;
}
.caution-list h3 {
  color: var(--burgundy-900);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.caution-list p { margin: 0; }

/* ===== Accordion ===== */
.accordion { margin-top: 28px; display: grid; gap: 12px; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  min-height: 56px;
  background: none;
  border: none;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'GmarketSansBold', sans-serif;
  font-size: 1rem;
  color: var(--burgundy-900);
  text-align: left;
  cursor: pointer;
}
.accordion-trigger .chev { flex-shrink: 0; transition: transform .2s ease; color: var(--burgundy-800); }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-panel { padding: 0 20px 18px; color: var(--ink); }
.accordion-panel p { margin: 0; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--burgundy-950);
  color: var(--sand-light);
  padding: 56px 20px;
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: var(--white); }
.cta-band .btn { margin-top: 8px; }

/* ===== Footer ===== */
footer {
  background: var(--burgundy-900);
  color: var(--sand-light);
  padding: 44px 20px 30px;
  font-size: .92rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 1100px;
  margin: 0 auto 26px;
}
footer nav a {
  color: var(--sand-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer nav a:hover { border-bottom-color: var(--sand); }
footer address {
  font-style: normal;
  max-width: 1100px;
  margin: 0 auto 18px;
  line-height: 1.9;
  color: var(--sand-light);
  border-top: 1px solid rgba(224,192,151,.25);
  padding-top: 18px;
}
footer address a { color: var(--sand); text-decoration: none; }
footer p { max-width: 1100px; margin: 0 auto; color: rgba(251,244,236,.65); }

/* ===== Breakpoints ===== */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .main-nav ul.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--burgundy-950);
    padding: 8px 20px 16px;
    border-bottom: 4px solid var(--sand);
  }
  .main-nav ul.is-open a { padding: 12px 4px; border-bottom: 1px solid rgba(224,192,151,.15); }
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .section { padding: 48px 16px; }
  .hero { padding: 56px 16px 64px; }
  .gallery { grid-template-columns: 1fr; }
  .timeline::before { left: 23px; }
  .timeline-step { padding-left: 64px; }
  .step-num { width: 48px; height: 48px; font-size: .95rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .step-body { padding: 16px 18px; }
  table { min-width: 480px; }
}
@media (min-width: 1280px) {
  .header-inner, .section-inner, .cta-inner { max-width: 1240px; }
  .section-inner { max-width: 960px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .accordion-trigger .chev { transition: none; }
}


/* 모바일 하단 고정 CTA 바 (전화/문의) — 번호 텍스트 미노출 */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,.16);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 767px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  body { padding-bottom: 64px; }
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: #4A1D2C;
}
.mobile-cta-bar .mobile-cta-contact {
  background: #4A1D2C;
  filter: brightness(1.22);
  border-left: 1px solid rgba(255,255,255,.25);
}
