/* 바닥코팅전문 지역 서비스 — 지도 인덱스: 권역 아코디언 + 위치 태그 칩 */
:root {
  --green: #06402B;
  --green-2: #0A5A3C;
  --yellow: #F4D35E;
  --ink: #14231C;
  --paper: #F7F5EE;
  --card: #FFFFFF;
  --line: #D8DCCB;
  --muted: #4D5C52;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-display: swap;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; color: var(--green); }
p { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section-inner { max-width: 960px; margin: 0 auto; padding: 40px 20px; }

/* header: deep green bar */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
  border-bottom: 4px solid var(--yellow);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; color: #fff; }
.menu-toggle {
  background: var(--green-2); border: 2px solid var(--yellow); border-radius: 6px;
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--yellow); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--green-2); border-bottom: 4px solid var(--yellow);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); min-height: 44px; display: flex; align-items: center; }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav { display: flex; position: static; flex-direction: row; gap: 26px; background: none; border: 0; padding: 0; }
  #primary-nav a { border-bottom: 0; padding: 0; color: #fff; }
}

/* intro */
.intro-section { background: var(--green); color: #fff; }
.intro-section .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  color: var(--yellow); margin: 0 0 10px;
}
.intro-section h1 { color: #fff; font-size: 1.7rem; margin: 0 0 18px; }
.intro-section p { color: #E9EDE4; margin: 0 0 16px; }
.intro-section p:last-child { margin-bottom: 0; }

/* region accordion */
.region-section h2 { font-size: 1.4rem; margin: 0 0 20px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  overflow: hidden;
}
.accordion-item h3 { margin: 0; font-size: 1rem; }
.accordion-trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: none; border: 0;
  padding: 16px 18px;
  min-height: 44px;
  font: inherit; font-weight: 700; color: var(--green);
  cursor: pointer;
}
.accordion-trigger::after {
  content: '';
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.accordion-trigger[aria-expanded="true"] { background: #F1EFDD; }
.accordion-panel { padding: 0 18px 20px; }
.accordion-panel p { margin: 0 0 14px; color: var(--muted); }

/* location chips */
.chip-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.location-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #EFF6EF;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 600; font-size: .92rem;
}
.chip-icon { width: 15px; height: 15px; flex: none; color: var(--yellow); filter: drop-shadow(0 0 0 var(--green)); }
.chip-icon path { stroke: var(--green); stroke-width: .5; }

/* related links */
.related-section .section-inner p { color: var(--muted); }
.related-section a { color: var(--green); font-weight: 700; text-decoration: underline; }

/* cta */
.cta-section { background: var(--yellow); }
.cta-inner { text-align: center; }
.cta-section h2 { font-size: 1.35rem; margin: 0 0 10px; }
.cta-section p { margin: 0 0 22px; color: #3B330F; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 8px;
  font-weight: 700; text-decoration: none;
  border: 2px solid var(--green);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }

/* footer */
.site-footer { background: var(--ink); color: #D9DED4; padding: 40px 20px 24px; }
.footer-nav { max-width: 1280px; margin: 0 auto 20px; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.footer-nav a { color: #D9DED4; text-decoration: none; font-size: .92rem; min-height: 44px; display: flex; align-items: center; }
.footer-nav a:hover { color: var(--yellow); }
.site-footer address { max-width: 1280px; margin: 0 auto 16px; font-style: normal; font-size: .88rem; color: #A9B2A2; line-height: 1.9; }
.site-footer address a { color: var(--yellow); text-decoration: none; }
.site-footer p { max-width: 1280px; margin: 0 auto; font-size: .8rem; color: #7C857A; }

@media (min-width: 480px) {
  .intro-section h1 { font-size: 1.9rem; }
}

@media (min-width: 768px) {
  .section-inner { padding: 56px 32px; }
  .intro-section h1 { font-size: 2.2rem; }
  .accordion-trigger { font-size: 1.05rem; padding: 20px 24px; }
  .accordion-panel { padding: 0 24px 24px; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 64px 40px; }
}

@media (min-width: 1280px) {
  .section-inner { max-width: 1080px; }
}
