/* 신정동배수로시공 — 공문서/관공서 서식 모티프, Gugi 헤딩, 잉크·골드·블루 팔레트 */

:root {
  --ink: #1C1B33;
  --ink-soft: #4B4870;
  --accent: #D9A441;
  --accent-dark: #B4842F;
  --tide: #4C6FE0;
  --paper: #F3F0FA;
  --card-bg: #FDFCFF;
  --card-line: #D3CDE6;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark { font-family: "Gugi", cursive; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tide); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  color: #fff;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.main-nav a[aria-current="page"] { color: var(--accent); }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--ink);
}
.mobile-nav a {
  color: #fff;
  display: block;
  padding: 0.6rem 0;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
  gap: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card-bg);
  border-left: 6px solid var(--accent);
}
.eyebrow {
  color: var(--tide);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}
.hero-copy h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.4;
}
.hero-copy .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 1.25rem; }
  .hero-copy h1 { font-size: 1.7rem; }
}

/* ---------- Record notes (official document cards) ---------- */
.record-notes {
  max-width: 1140px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.record-notes h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ink);
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.record-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-top: 4px solid var(--ink);
  padding: 1.75rem 1.75rem 1.5rem;
  overflow: hidden;
}
.record-card::after {
  content: "official";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 3.4rem;
  height: 3.4rem;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  transform: rotate(-18deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gugi", cursive;
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
.record-no {
  margin: 0 0 0.4rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--tide);
}
.record-card h3 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1.15rem;
  max-width: 80%;
}
.record-card p:not(.record-no) {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .record-grid { grid-template-columns: 1fr; }
}

/* ---------- Process strip ---------- */
.process-strip {
  background: var(--ink);
  color: #fff;
  padding: 3rem 1.25rem;
}
.process-strip h2 {
  max-width: 1140px;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: 1.4rem;
}
.process-strip ol {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process-strip li {
  counter-increment: step;
  position: relative;
  padding: 0.6rem 0 0.6rem 3rem;
  font-size: 1.05rem;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}
.process-strip li:last-child { border-bottom: none; }
.process-strip li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: bold;
}
.process-strip strong { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.faq h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ink);
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-left: 4px solid var(--tide);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item p { margin: 0; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-section {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--tide);
  color: #fff;
  border-radius: 10px;
}
.cta-section h2 { margin: 0 0 0.75rem; font-size: 1.4rem; }
.cta-section p { margin: 0 0 1.5rem; opacity: 0.95; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.05rem;
}
.btn-primary { background: var(--accent); color: var(--ink); font-weight: bold; }
.btn-outline { border: 2px solid #fff; color: #fff; }

/* ---------- Gallery ---------- */
.gallery-strip {
  max-width: 1140px;
  margin: 0 auto 3.5rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-strip figure { margin: 0; }
.gallery-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 700px) {
  .gallery-strip { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbc8dd;
  padding: 2.5rem 1.25rem 6rem;
  text-align: center;
  font-size: 0.95rem;
}
.site-footer nav ul {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex-wrap: wrap;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.mobile-cta {
  flex: 1;
  text-align: center;
  padding: 0.9rem 0;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
}
.mobile-cta.call { background: var(--accent-dark); }
.mobile-cta.inquiry { background: var(--tide); }

@media (max-width: 780px) {
  .mobile-cta-bar { display: flex; }
}

/* ---------- Related links ---------- */
.related-links {
  max-width: 1140px;
  margin: 0 auto 3.5rem;
  padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--ink);
}
.related-links h2 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.related-links-group { margin-bottom: 1.25rem; }
.related-links-group:last-child { margin-bottom: 0; }
.related-links-group h3 {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
  opacity: 0.75;
}
.related-links-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}
.related-links-group a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}
.related-links-group a:hover { border-bottom-color: var(--ink); }

.site-footer nav{display:none}
.site-footer{padding-top:20px}
.site-footer address{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;line-height:1.5}
