/* 구리바닥코팅전문 — 테라코타 & 세이지그린 신도시 톤 + 동심원(성장 고리) 모티프 + 2단 콘텐츠 레이아웃 */

:root {
  --cream: #FBF3E7;
  --cream-2: #F3E6D2;
  --sand: #EAD9BD;
  --terracotta: #C3552C;
  --terracotta-dim: rgba(195, 85, 44, 0.16);
  --sage: #5B7A5E;
  --sage-dark: #33452F;
  --ink: #2E2417;
  --muted: #6E5F4C;
  --heading-font: 'Jua', 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  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%;
}
a { color: inherit; }
p { color: var(--ink); margin: 0 0 18px; }
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.3;
  color: var(--sage-dark);
  letter-spacing: 0;
}
h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); margin: 6px 0 14px; color: var(--terracotta); }
h2 { font-size: clamp(1.5rem, 4.6vw, 2rem); margin: 0 0 16px; color: var(--sage-dark); }
h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 56px 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 231, 0.94);
  border-bottom: 2px solid var(--sand);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.logo { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; color: var(--terracotta); }
.menu-toggle {
  background: var(--cream-2); border: 2px solid var(--terracotta); border-radius: 999px;
  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(--terracotta); display: block; border-radius: 2px; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream-2); border-top: 1px solid var(--sand); border-bottom: 3px solid var(--terracotta);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--sand);
  font-weight: 600;
}

/* buttons: 둥근 알약형 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 30px;
  border: 2px solid transparent; text-decoration: none; font-weight: 700; font-size: 0.96rem;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.btn-primary { background: var(--terracotta); color: var(--cream); box-shadow: 0 4px 0 var(--sage-dark); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sage-dark); border-color: var(--sage-dark); }
.btn-ghost:hover { background: var(--terracotta-dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* hero: 동심원(성장 고리) 모티프 — 신도시가 겹겹이 확장되는 이미지 */
.hero {
  background: linear-gradient(180deg, var(--cream-2), var(--cream) 75%);
  overflow: hidden;
  position: relative;
}
.city-rings {
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 58px, var(--terracotta-dim) 58px 66px, transparent 66px 98px, rgba(91,122,94,0.18) 98px 106px, transparent 106px 138px, rgba(195,85,44,0.12) 138px 146px, transparent 146px);
  pointer-events: none;
}
.hero-inner { padding: 44px 20px 52px; max-width: 720px; margin: 0 auto; text-align: left; position: relative; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.1em; color: var(--sage);
  margin: 0 0 8px; font-weight: 700;
}
.hero-sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }

/* content: 2단 레이아웃 (본문 + 지역 특징 박스, 데스크톱에서 특징 박스가 왼쪽) */
.content-section { border-top: 2px dashed var(--sand); }
.content-grid { display: block; }
.content-main h2:not(:first-child) { margin-top: 40px; }
.content-main a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.content-side { margin-top: 40px; }
.fact-box {
  background: var(--sage-dark);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.fact-box::before {
  content: '';
  position: absolute; top: -30px; right: -30px; width: 90px; height: 90px;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,0.08);
}
.fact-box h2 { font-size: 1.4rem; margin-bottom: 18px; color: var(--cream); position: relative; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.fact-list li {
  padding-left: 24px; position: relative; color: var(--cream-2); font-size: 0.95rem;
}
.fact-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--terracotta);
}

/* related links */
.related-section { border-top: 2px dashed var(--sand); }
.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: var(--cream-2); border: 1px solid var(--sand);
  color: var(--terracotta); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.related-section a:hover { background: var(--terracotta-dim); transform: translateY(-2px); }

/* faq / accordion */
.faq-section { background: var(--cream-2); border-top: 2px dashed var(--sand); }
.accordion-item { border-bottom: 1px solid var(--sand); }
.accordion-trigger {
  width: 100%; text-align: left; min-height: 44px;
  background: none; border: none; color: var(--ink);
  font-size: 1rem; font-weight: 700; padding: 16px 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: inherit;
}
.accordion-trigger::after {
  content: '+'; color: var(--terracotta); font-size: 1.4rem; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.accordion-trigger[aria-expanded="true"]::after { content: '-'; background: var(--terracotta); color: var(--cream); }
.accordion-panel { padding: 0 4px 18px; }
.accordion-panel p { color: var(--muted); margin: 0; }

/* cta */
.cta-section { background: var(--sage-dark); border-top: 2px dashed var(--sand); }
.cta-section h2 { color: var(--cream); }
.cta-inner { text-align: left; }
.cta-inner p { color: var(--cream-2); }
.cta-section .btn-ghost { color: var(--cream); border-color: var(--cream); }
.cta-section .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* footer */
.site-footer { background: var(--ink); padding: 16px 20px; }
address {
  max-width: 1120px; margin: 0 auto; font-style: normal; color: var(--sand); font-size: 0.88rem; line-height: 1.8;
}
address a { color: var(--terracotta); text-decoration: none; }
/* breakpoints */
@media (min-width: 480px) {
  .hero-cta { gap: 16px; }
}
@media (min-width: 768px) {
  #primary-nav { position: static; display: flex !important; flex-direction: row; background: none; border: none; padding: 0; gap: 20px; }
  #primary-nav a { border-bottom: none; min-height: auto; }
  .menu-toggle { display: none; }
  .hero-inner { padding: 60px 20px 68px; max-width: 900px; }
  .city-rings { width: 420px; height: 420px; top: -160px; right: -100px; }
}
@media (min-width: 1024px) {
  .content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
  }
  .content-main { grid-column: 2; }
  .content-side { grid-column: 1; grid-row: 1; margin-top: 0; position: sticky; top: 90px; }
  .hero-inner { max-width: 1000px; }
}
@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1200px; }
}

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--terracotta); margin: 0 0 18px; text-align: center; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
.site-photo-grid picture {
  display: block; width: 100%; max-width: 480px; aspect-ratio: 4/3; overflow: hidden;
  border-radius: 20px; border: 3px solid var(--sand);
}
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 640px) {
  .site-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .site-photo-grid picture { max-width: none; }
}
