/* 천안바닥코팅전문 — 그레이 퍼플/오렌지, 성장 계단 바 히어로 + 카드형 본문 */

:root {
  --primary: #4A4E69;
  --primary-dark: #35374F;
  --accent: #F4A259;
  --accent-dark: #C97D3A;
  --ink: #2B2C3D;
  --paper: #F5F4F9;
  --card: #FFFFFF;
  --line: #DEDCE8;
  --muted: #5B5D74;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, .btn {
  font-family: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1, h2, h3 { color: var(--primary-dark); line-height: 1.35; }
p { margin: 0 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  color: #fff;
  font-family: "Do Hyeon", sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
}
.menu-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: var(--primary-dark);
  border: 2px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--accent); display: block; }
#primary-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav { display: flex; flex-direction: row; width: auto; gap: 24px; }
  #primary-nav a { border-bottom: none; padding: 8px 0; }
}

/* ---------- 버튼: 라운드 사각형 + 상승 화살표 아이콘 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-icon { width: 18px; height: 18px; flex: none; color: currentColor; }
.btn-primary { background: var(--accent); color: var(--primary-dark); box-shadow: 0 4px 0 var(--accent-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- 히어로: 상승 계단 바 그래프 ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
  padding: 56px 20px 40px;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; color: #fff; z-index: 2; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 2.1rem; margin: 0 0 16px; color: #fff; }
.hero-lede { font-size: 1.02rem; max-width: 58ch; color: #E4E3ED; margin: 0; }

.growth-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 760px;
  margin: 40px auto 0;
  height: 90px;
  padding: 0 4px;
}
.growth-chart .bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  opacity: .9;
}
.bar-1 { height: 30%; }
.bar-2 { height: 48%; }
.bar-3 { height: 62%; }
.bar-4 { height: 80%; }
.bar-5 { height: 100%; }

@media (min-width: 768px) {
  .hero { padding: 84px 20px 56px; }
  .hero h1 { font-size: 2.8rem; }
  .growth-chart { height: 120px; margin-top: 52px; }
}

/* ---------- 본문 카드 ---------- */
.content { background: var(--paper); }
.content-inner { max-width: 880px; margin: 0 auto; padding: 48px 20px; display: flex; flex-direction: column; gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(74, 78, 105, .08);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px;
  width: 44px; height: 5px;
  border-radius: 0 0 5px 5px;
  background: var(--accent);
}
.card h2 { font-size: 1.35rem; margin: 10px 0 14px; }
.card p { color: var(--ink); margin: 0; }
.card p a { color: var(--primary-dark); font-weight: 700; text-decoration: underline; }

#section-related p { color: var(--muted); }
#section-related a { color: var(--primary-dark); font-weight: 700; text-decoration: underline; }

/* ---------- FAQ 아코디언 ---------- */
#faq h2 { font-size: 1.35rem; margin: 8px 0 18px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  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;
  font: inherit;
  font-family: "Do Hyeon", sans-serif;
  color: var(--primary-dark);
  padding: 18px 20px;
  min-height: 44px;
  cursor: pointer;
}
.accordion-trigger::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  color: var(--accent-dark);
}
.accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.accordion-panel { padding: 0 20px 20px; }
.accordion-panel p { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section { background: var(--primary-dark); }
.cta-inner { max-width: 760px; margin: 0 auto; padding: 52px 20px; text-align: center; }
.cta-section h2 { font-size: 1.5rem; margin: 0 0 12px; color: #fff; }
.cta-section p { color: #E4E3ED; margin: 0 0 8px; }
.cta-section .hero-cta { justify-content: center; margin-top: 24px; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: #D8D7E4; padding: 16px 20px; }
.site-footer address { max-width: 1120px; margin: 0 auto 16px; font-style: normal; font-size: .9rem; line-height: 1.5; color: #B4B3C4; }
.site-footer address a { color: var(--accent); text-decoration: none; }
@media (min-width: 480px) {
  .hero h1 { font-size: 2.3rem; }
}

@media (min-width: 1024px) {
  .content-inner { padding: 64px 32px; }
  .card { padding: 34px 36px; }
}

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

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--primary-dark); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
