@font-face {
  font-family: "Pretendard Fallback";
  src: local("Arial");
}
:root {
  --primary: #1B2A41;
  --accent: #E8A33D;
  --ink: #1c1c1c;
  --paper: #ffffff;
  --muted: #667085;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Pretendard Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
  font-display: swap;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--primary);
  padding: 10px 16px; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary); color: #fff;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.main-nav ul { list-style: none; display: none; gap: 28px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; padding: 8px 0; }
.hamburger {
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { width: 24px; height: 2px; background: #fff; display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 600; border-top: 1px solid rgba(255,255,255,.15); min-height: 44px; }

@media (min-width: 768px) {
  .main-nav ul { display: flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* hero */
.hero { position: relative; width: 100%; }
.hero-img { width: 100%; height: 60vh; min-height: 360px; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 24px; background: linear-gradient(90deg, rgba(27,42,65,.88) 20%, rgba(27,42,65,.25) 90%);
  color: #fff;
}
.hero-overlay h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 12px; }
.hero-sub { font-size: 1.05rem; max-width: 520px; margin: 0 0 24px; color: #e7ecf3; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-outline { border: 2px solid #fff; color: #fff; }

/* method grid (formerly a sliding carousel; now a static 6-card grid) */
.carousel-section { max-width: 1200px; margin: 0 auto; padding: 56px 20px 20px; }
.carousel-section h2 { text-align: center; margin-bottom: 24px; }
.method-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.carousel-slide {
  text-decoration: none; color: var(--ink); position: relative; display: block;
}
.carousel-slide img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.carousel-slide span {
  position: absolute; left: 16px; bottom: 16px; background: var(--primary); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
}

@media (min-width: 768px) {
  .method-grid { grid-template-columns: repeat(3, 1fr); }
}

/* section generic */
section { padding: 48px 20px; }
.intro-section, .quality-section { max-width: 800px; margin: 0 auto; }
.intro-section h2, .quality-section h2, .process-section h2, .compare-section h2, .checklist-section h2, .faq-section h2, .links-section h2 {
  font-size: 1.6rem; margin-bottom: 16px;
}

/* 3-split checklist */
.checklist-section { background: #f4f6f9; }
.checklist-section h2 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.checklist-grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 20px; grid-template-columns: 1fr; }
.checklist-grid article { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.checklist-grid h3 { color: var(--primary); margin: 0 0 8px; font-size: 1.05rem; }
@media (min-width: 768px) { .checklist-grid { grid-template-columns: repeat(3, 1fr); } }

/* compare table */
.compare-section { max-width: 1000px; margin: 0 auto; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { border: 1px solid #e3e7ee; padding: 12px; text-align: left; font-size: .95rem; }
th { background: var(--primary); color: #fff; }
tr:nth-child(even) td { background: #f7f9fc; }

/* site sequence gallery */
.site-gallery-section { max-width: 1200px; margin: 0 auto; }
.site-gallery-section h2 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.site-gallery-lead { max-width: 1100px; margin: 0 auto 20px; color: var(--muted); }
.site-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.site-gallery-grid figure { margin: 0; }
.site-gallery-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.site-gallery-grid figcaption { margin-top: 6px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (min-width: 600px) {
  .site-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .site-gallery-grid { grid-template-columns: repeat(5, 1fr); }
  .site-gallery-grid img { height: 160px; }
}

/* process */
.process-section { max-width: 800px; margin: 0 auto; }
.process-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-steps li {
  position: relative; padding: 8px 0 8px 46px; border-left: 2px solid var(--accent); margin-left: 18px;
}
.process-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -19px; top: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.process-steps strong { display: block; color: var(--primary); margin-bottom: 2px; }

/* faq */
.faq-section { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #e3e7ee; }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 1.02rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; min-height: 44px;
}
.accordion-trigger::after { content: "+"; font-weight: 400; color: var(--accent); }
.accordion-trigger[aria-expanded="true"]::after { content: "-"; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

/* links */
.links-section { max-width: 1100px; margin: 0 auto; }
.links-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.link-card {
  display: block; text-decoration: none; color: var(--ink); background: #f4f6f9; border-radius: 12px; padding: 22px;
  border: 1px solid #e3e7ee;
}
.link-card h3 { color: var(--primary); margin: 0 0 8px; }
.link-card p { margin: 0; color: var(--muted); }
@media (min-width: 768px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }

/* footer */
.site-footer { background: var(--primary); color: #cfd6e0; padding: 40px 20px 100px; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0 0 20px; padding: 0; }
.site-footer nav a { color: #fff; text-decoration: none; font-size: .92rem; }
.site-footer address { font-style: normal; font-size: .88rem; line-height: 1.8; }
.site-footer a[href^="tel:"] { color: var(--accent); font-weight: 700; }

/* mobile cta bar */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 150;
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}
.mobile-cta { flex: 1; min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.mobile-cta.call { background: var(--accent); color: var(--primary); }
.mobile-cta.inquiry { background: var(--primary); color: #fff; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
