/* 안양바닥코팅전문 — 슬레이트 차콜 + 앰버 톤, 스카이라인 실루엣 모티프 + 좌측 강조바 카드 레이아웃 */

:root {
  --slate: #23262C;
  --slate-2: #1A1D22;
  --slate-3: #121417;
  --amber: #F0A245;
  --amber-2: #D67F2C;
  --amber-dim: rgba(240, 162, 69, 0.22);
  --fg: #F4F1EA;
  --muted: #ABB0B8;
  --heading-font: 'Gothic A1', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--fg);
  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(--fg); margin: 0 0 18px; }
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 7vw, 3rem); margin: 4px 0 14px; }
h2 { font-size: clamp(1.4rem, 4.4vw, 1.9rem); margin: 0 0 16px; color: var(--amber); }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0; color: #fff; font-family: var(--heading-font); }
.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: 52px 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 20, 23, 0.96);
  border-bottom: 1px solid var(--amber-dim);
}
.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: 800; font-size: 1.08rem; letter-spacing: -0.02em; text-decoration: none; color: #fff; font-family: var(--heading-font); }
.menu-toggle {
  background: var(--amber); border: none; border-radius: 3px;
  width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--slate-3); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--slate-2); border-top: 1px solid var(--amber-dim);
  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(--fg); border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* buttons: 모서리 컷 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 24px;
  border: none; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.btn-primary { background: var(--amber); color: #1A1205; }
.btn-ghost { background: transparent; color: var(--amber); border: 1px solid var(--amber); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* hero: 오피스타워 스카이라인 실루엣 */
.hero {
  background: linear-gradient(160deg, var(--slate-2), var(--slate) 65%);
  position: relative;
  overflow: hidden;
}
.hero-inner { padding: 44px 20px 26px; max-width: 720px; margin: 0 auto; text-align: left; position: relative; z-index: 2; }
.eyebrow {
  font-size: 0.76rem; letter-spacing: 0.14em; color: var(--amber);
  margin: 0 0 8px; font-weight: 700; text-transform: uppercase;
}
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.skyline {
  height: 46px;
  background-color: var(--slate-3);
  opacity: 0.85;
  clip-path: polygon(
    0 100%, 0 55%, 4% 55%, 4% 30%, 8% 30%, 8% 68%, 12% 68%, 12% 15%, 16% 15%,
    16% 45%, 20% 45%, 20% 60%, 24% 60%, 24% 8%, 28% 8%, 28% 50%, 32% 50%,
    32% 35%, 36% 35%, 36% 72%, 40% 72%, 40% 20%, 44% 20%, 44% 58%, 48% 58%,
    48% 12%, 52% 12%, 52% 42%, 56% 42%, 56% 65%, 60% 65%, 60% 25%, 64% 25%,
    64% 55%, 68% 55%, 68% 5%, 72% 5%, 72% 48%, 76% 48%, 76% 62%, 80% 62%,
    80% 18%, 84% 18%, 84% 52%, 88% 52%, 88% 32%, 92% 32%, 92% 68%, 96% 68%,
    96% 40%, 100% 40%, 100% 100%
  );
}

/* content: 2단 레이아웃 (본문 + 지역 특징 카드) */
.content-section { border-top: 1px solid var(--amber-dim); }
.content-grid { display: block; }
.content-main h2:not(:first-child) { margin-top: 38px; }
.content-main a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.content-side { margin-top: 36px; }
.fact-box {
  background: var(--slate-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--amber);
  border-radius: 2px;
  padding: 26px 24px;
}
.fact-box h2 { font-size: 1.35rem; margin-bottom: 18px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact-list li {
  padding-left: 22px; position: relative; color: var(--fg); font-size: 0.94rem;
}
.fact-list li::before {
  content: '#'; position: absolute; left: 0; top: 0; color: var(--amber); font-weight: 800;
}

/* 관련 페이지 */
.related-section { background: var(--slate-3); border-top: 1px solid var(--amber-dim); padding: 40px 0; }
.related-section h2 { font-size: 1.3rem; margin: 0 0 14px; }
.related-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.related-section li { font-size: 0.95rem; }
.related-section a { color: var(--amber); }

/* faq / accordion */
.faq-section { background: var(--slate-2); border-top: 1px solid var(--amber-dim); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.accordion-trigger {
  width: 100%; text-align: left; min-height: 44px;
  background: none; border: none; color: var(--fg);
  font-size: 0.98rem; 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(--amber); font-size: 0.95rem; flex-shrink: 0; transition: transform 0.15s ease; }
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.accordion-panel { padding: 0 4px 18px; }
.accordion-panel p { color: var(--muted); margin: 0; }

/* cta */
.cta-section { background: var(--slate-3); border-top: 1px solid var(--amber-dim); }
.cta-inner { text-align: left; }
.cta-inner p { color: var(--muted); }

/* footer */
.site-footer { background: #0D0F11; padding: 16px 20px; }
address {
  max-width: 1120px; margin: 0 auto; font-style: normal; color: var(--muted); font-size: 0.88rem; line-height: 1.8;
}
address a { color: var(--amber); text-decoration: none; }
/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--amber); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* 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 34px; max-width: 900px; }
  .skyline { height: 58px; }
}
@media (min-width: 1024px) {
  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .content-side { margin-top: 0; position: sticky; top: 90px; }
  .hero-inner { max-width: 1000px; }
}
@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1200px; }
}
