/* 서울바닥코팅전문 — 도심 스카이라인 실루엣 콘셉트: 차콜 + 네온블루 */
:root {
  --charcoal: #12161C;
  --charcoal-dark: #090C10;
  --charcoal-line: #232C36;
  --neon: #35E4FF;
  --neon-deep: #2F6FFF;
  --paper: #F3F6FA;
  --card: #FFFFFF;
  --ink: #131A22;
  --muted: #51606E;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

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;
  overflow-x: hidden;
}

a { color: inherit; }
p { margin: 0 0 1em; }

.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;
}

h1, h2 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 5.2vw, 2.8rem); color: #fff; text-shadow: 0 0 18px rgba(53,228,255,.45); }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); color: var(--charcoal); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal-dark);
  border-bottom: 2px solid var(--neon);
  box-shadow: 0 2px 24px rgba(53,228,255,.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--charcoal-line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--neon);
}
#primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 .5rem;
  color: #E4EEF5;
  text-decoration: none;
  border-top: 1px solid var(--charcoal-line);
}

/* ---------- skyline decorations ---------- */
.skyline-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding-top: 10px;
  background: var(--charcoal-dark);
}
.skyline-row .bldg {
  display: block;
  width: 16px;
  background: linear-gradient(180deg, var(--neon) 0%, var(--neon-deep) 100%);
  opacity: .5;
  box-shadow: 0 0 8px rgba(53,228,255,.5);
}
.skyline-row .b1 { height: 14px; }
.skyline-row .b2 { height: 26px; opacity: .75; }
.skyline-row .b3 { height: 18px; }
.skyline-row .b4 { height: 34px; opacity: .9; }
.skyline-row .b5 { height: 20px; }
.skyline-row .b6 { height: 28px; opacity: .7; }
.skyline-row .b7 { height: 15px; }

.skyline-divider {
  height: 30px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.skyline-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--neon-deep) 0 3px,
    transparent 3px 26px
  );
  opacity: .35;
}

/* ---------- hero ---------- */
.hero-section {
  background: linear-gradient(180deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
  position: relative;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
.eyebrow {
  color: var(--neon);
  font-size: .85rem;
  letter-spacing: .06em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #D7E3EC;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 2.1rem;
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity .15s ease, box-shadow .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--neon-deep); color: #fff; box-shadow: 0 0 20px rgba(47,111,255,.5); }
.btn-ghost { background: transparent; color: var(--neon); border: 1px solid var(--neon); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-left: 1.15rem; border-left: 3px solid var(--neon-deep); }
.content-section p { color: var(--ink); }
.content-section a { color: var(--neon-deep); text-decoration: underline; }

.table-scroll { overflow-x: auto; margin: 1.2rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--card); }
thead th { background: var(--charcoal-dark); color: #fff; font-weight: 700; }
th, td { padding: .75rem 1rem; text-align: left; border: 1px solid #DCE4EC; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-section { background: var(--charcoal); }
.cta-section h2 { color: #fff; }
.cta-inner p { color: #D7E3EC; }

.last-modified {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal-dark);
  color: #C4D2DD;
  padding: 1rem 1.25rem;
}
.site-footer address {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.5;
  color: #9FB1C0;
}
.site-footer address a { color: var(--neon); text-decoration: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .btn { padding: .9rem 2.4rem; }
}

@media (min-width: 768px) {
  .header-inner { padding: 16px 32px; }
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
  }
  #primary-nav a {
    border-top: none;
    min-height: auto;
    line-height: normal;
    padding: 0;
  }
  .section-inner { padding: 4rem 2rem; }
  .hero-inner { padding-top: 3.5rem; padding-bottom: 4rem; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .content-section .section-inner { max-width: 900px; }
}

@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1280px; }
  .content-section .section-inner { max-width: 960px; margin: 0 auto; }
}

/* ---------- 관련 페이지 ---------- */
.related-section { background: var(--charcoal-dark); }
.related-section h2 { color: #fff; }
.related-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  margin-top: 1.2rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--charcoal);
  border: 1px solid var(--charcoal-line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.related-card:hover { border-color: var(--neon); box-shadow: 0 0 16px rgba(53,228,255,.25); }
.rc-title { color: var(--neon); font-weight: 700; font-size: 1rem; }
.rc-desc { color: #AFC0CD; font-size: .85rem; }
@media (min-width: 640px) { .related-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border: 1px solid var(--charcoal-line); border-radius: 4px; margin-bottom: .8rem; background: var(--card); }
.faq-section .accordion-item h3 { margin: 0; font-size: 1rem; }
.faq-section .accordion-trigger {
  width: 100%;
  text-align: left;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.faq-section .accordion-trigger::after { content: '+'; color: var(--neon-deep); font-size: 1.3rem; flex-shrink: 0; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; }
.faq-section .accordion-panel p { color: var(--muted); margin: 0; }

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--charcoal); 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: 4px; border: 1px solid #DCE4EC; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
