/* 양주바닥코팅전문 - 지역 전용 스타일 (신도시 x 섬유산업 모티프) */
:root {
  --yj-navy: #1c2d4a;
  --yj-navy-deep: #0f1c30;
  --yj-amber: #d98b3f;
  --yj-amber-light: #f2b877;
  --yj-cream: #f8f3ea;
  --yj-thread: #a9b8c9;
  --yj-ink: #26313f;
  --yj-line: #e2dbcb;
  --yj-radius: 14px;
  --yj-shadow: 0 10px 28px rgba(15, 28, 48, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--yj-ink);
  background: var(--yj-cream);
  line-height: 1.7;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Header */
.site-header {
  background: var(--yj-navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.02em;
}
#primary-nav {
  display: flex;
  gap: 22px;
}
#primary-nav a {
  text-decoration: none;
  color: #d9e2ee;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
#primary-nav a:hover { color: var(--yj-amber-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--yj-navy) 0%, var(--yj-navy-deep) 68%);
  color: #fff;
  padding: 84px 20px 96px;
}
.weave-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--yj-amber-light) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, var(--yj-thread) 0 2px, transparent 2px 26px);
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--yj-amber-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.02rem;
  color: #dbe3ee;
  margin: 0 auto 30px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--yj-amber);
  color: #241605;
  box-shadow: 0 8px 20px rgba(217, 139, 63, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--yj-amber-light); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* Content */
.content-section { padding: 64px 20px; }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.content-main h2 {
  font-size: 1.35rem;
  color: var(--yj-navy);
  margin: 34px 0 12px;
  border-left: 4px solid var(--yj-amber);
  padding-left: 12px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main p { margin: 0 0 8px; color: var(--yj-ink); }

.fact-box {
  background: #fff;
  border: 1px solid var(--yj-line);
  border-radius: var(--yj-radius);
  padding: 26px;
  box-shadow: var(--yj-shadow);
}
.fact-box h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--yj-navy);
}
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.fact-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--yj-ink);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--yj-amber);
  transform: rotate(45deg);
}

/* 관련 페이지 */
.related-section {
  padding: 56px 20px;
  border-top: 1px solid var(--yj-line);
}

.related-section h2 {
  font-size: 1.35rem;
  color: var(--yj-navy);
  margin: 0 0 20px;
  border-left: 4px solid var(--yj-amber);
  padding-left: 12px;
}

.related-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-section li { margin: 0; }

.related-section a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--yj-line);
  color: var(--yj-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--yj-shadow);
  transition: background 0.18s ease, transform 0.18s ease;
}

.related-section a:hover {
  background: var(--yj-cream);
  border-color: var(--yj-amber);
  transform: translateY(-2px);
}

/* FAQ */
.faq-section {
  background: #fff;
  padding: 64px 20px;
  border-top: 1px solid var(--yj-line);
  border-bottom: 1px solid var(--yj-line);
}
.faq-section h2 {
  text-align: center;
  color: var(--yj-navy);
  font-size: 1.5rem;
  margin: 0 0 30px;
}
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--yj-line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--yj-cream);
  border: 0;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yj-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-trigger::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--yj-amber);
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel {
  padding: 4px 20px 18px;
  color: var(--yj-ink);
  font-size: 0.95rem;
}

/* Site photos */
.site-photo-section {
  padding: 64px 20px;
  text-align: center;
}
.site-photo-section h2 {
  color: var(--yj-navy);
  font-size: 1.5rem;
  margin: 0 0 28px;
}
.site-photo-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
}
.site-photo-grid picture {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: var(--yj-radius);
  overflow: hidden;
  box-shadow: var(--yj-shadow);
}
.site-photo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--yj-navy-deep), var(--yj-navy));
  color: #fff;
  padding: 64px 20px;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
}
.cta-inner h2 { font-size: 1.5rem; margin: 0 0 12px; }
.cta-inner p { color: #dbe3ee; margin: 0 0 26px; }

/* Footer */
.site-footer {
  background: var(--yj-navy-deep);
  color: #c7d1de;
  padding: 16px 20px;
  font-size: 0.88rem;
}
.site-footer address {
  max-width: 1120px;
  margin: 0 auto 14px;
  font-style: normal;
  line-height: 1.5;
}
.site-footer address a { color: var(--yj-amber-light); text-decoration: none; }
/* Responsive */
@media (min-width: 640px) {
  .site-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 860px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  #primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yj-navy-deep);
    flex-direction: column;
    padding: 16px 20px;
  }
  #primary-nav.is-open { display: flex; }
  .header-inner { position: relative; }
}
