/* 의정부바닥코팅전문 - 지역 전용 스타일 (역세권/신도시 모티프) */

:root {
  --uj-navy: #16243f;
  --uj-navy-deep: #0b1626;
  --uj-amber: #e3a83c;
  --uj-amber-deep: #c1861f;
  --uj-bg: #f6f4ee;
  --uj-surface: #ffffff;
  --uj-text: #202a3a;
  --uj-muted: #5c6579;
  --uj-border: #e3ddcd;
  --uj-shadow: 0 18px 40px -22px rgba(11, 22, 38, 0.45);
}

* { box-sizing: border-box; }

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

a { color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--uj-navy);
  margin: 0 0 0.6em;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Header ===== */
.site-header {
  background: var(--uj-navy);
  border-bottom: 3px solid var(--uj-amber);
  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;
  position: relative;
}

.logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

nav#primary-nav {
  display: flex;
  gap: 26px;
}

nav#primary-nav a {
  color: #e8e4d8;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

nav#primary-nav a:hover { color: var(--uj-amber); }

/* ===== Hero: 역세권 선로 모티프 ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--uj-navy) 0%, var(--uj-navy-deep) 100%);
  overflow: hidden;
  padding: 84px 20px 96px;
}

.transit-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(227, 168, 60, 0.16) 0px, rgba(227, 168, 60, 0.16) 2px, transparent 2px, transparent 46px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 46px);
  background-position: 0 0, 8px 0;
  opacity: 0.9;
}

.transit-lines::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(227, 168, 60, 0.25) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  color: var(--uj-amber);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}

.hero-sub {
  color: #c8cddb;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--uj-amber);
  color: var(--uj-navy-deep);
  box-shadow: 0 12px 26px -12px rgba(227, 168, 60, 0.7);
}

.btn-primary:hover { background: var(--uj-amber-deep); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover { border-color: var(--uj-amber); color: var(--uj-amber); }

/* ===== 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;
  margin-top: 2em;
}

.content-main h2:first-child { margin-top: 0; }

.content-main p {
  color: var(--uj-text);
  margin: 0 0 1em;
}

.content-main a {
  color: var(--uj-amber-deep);
  font-weight: 700;
  text-decoration: underline;
}

.content-side { }

.fact-box {
  background: var(--uj-surface);
  border: 1px solid var(--uj-border);
  border-top: 4px solid var(--uj-amber);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--uj-shadow);
}

.fact-box h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.fact-list li {
  position: relative;
  padding-left: 20px;
  color: var(--uj-muted);
  font-size: 0.92rem;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--uj-amber);
  border-radius: 2px;
}

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

.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(--uj-surface);
  border: 1px solid var(--uj-border);
  color: var(--uj-amber-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

/* ===== FAQ ===== */
.faq-section {
  background: var(--uj-surface);
  padding: 64px 20px;
  border-top: 1px solid var(--uj-border);
  border-bottom: 1px solid var(--uj-border);
}

.faq-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--uj-border);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--uj-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger::after {
  content: "+";
  color: var(--uj-amber-deep);
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 12px;
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "-";
}

.accordion-panel {
  padding: 0 4px 18px;
  color: var(--uj-muted);
}

.accordion-panel p { margin: 0; }

/* ===== 현장 사진 ===== */
.site-photo-section {
  padding: 64px 20px;
  text-align: center;
}

.site-photo-section h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.site-photo-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}

.site-photo-grid picture {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--uj-shadow);
}

.site-photo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(140deg, var(--uj-navy) 0%, var(--uj-navy-deep) 100%);
  color: #fff;
  padding: 70px 20px;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta-inner h2 {
  color: #fff;
  font-size: 1.6rem;
}

.cta-inner p {
  color: #c8cddb;
  margin-bottom: 26px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--uj-navy-deep);
  color: #a9b0c2;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 12px;
}

.site-footer a[href^="tel:"] {
  color: var(--uj-amber);
  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; }

  nav#primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--uj-navy);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  nav#primary-nav.is-open {
    max-height: 260px;
  }

  nav#primary-nav a {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
