/* 도화동배수로시공 — 옛 골목 지도(hand-drawn alley map) 모티프, Nanum Pen Script, 벽돌테라코타·슬레이트블루그레이·모래종이 팔레트 */

:root {
  --ink: #2C2420;
  --brick: #8C3B2E;
  --slate: #4A5A63;
  --bg: #F2ECE1;
  --paper: #FBF7EE;
  --paper-shadow: #DCD2BE;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Nanum Pen Script", cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

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

.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(--slate);
  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-family: "Nanum Pen Script", cursive;
  font-size: 1.9rem;
  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: 1.02rem;
}
.main-nav a[aria-current="page"] { color: #E7C9A9; }
.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(--slate);
}
.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: linear-gradient(180deg, var(--paper), var(--bg));
}
.eyebrow {
  color: var(--brick);
  font-weight: bold;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.hero-copy h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.hero-copy .lead {
  font-size: 1.05rem;
  color: var(--ink);
  opacity: 0.85;
}

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

/* ---------- Landmark notes / alley map ---------- */
.landmark-notes {
  max-width: 900px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.landmark-notes h2 {
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.map-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.75rem;
  opacity: 0.8;
  font-size: 0.98rem;
}

.alley-route {
  position: relative;
  padding-left: 3.25rem;
}
.alley-route::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0;
  border-left: 3px dashed var(--slate);
  opacity: 0.55;
}

.landmark-pin {
  position: relative;
  margin-bottom: 2.5rem;
}
.landmark-pin:last-child { margin-bottom: 0; }

.pin-marker {
  position: absolute;
  left: -3.25rem;
  top: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--brick);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nanum Pen Script", cursive;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 3px 0 rgba(44,36,32,0.25);
}
.pin-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.55rem solid var(--brick);
  transform: translateX(-50%);
}

.landmark-card {
  position: relative;
  background: var(--paper);
  padding: 1.75rem 1.9rem 2.1rem;
  box-shadow:
    0 10px 0 -4px var(--paper-shadow),
    3px 5px 10px rgba(44,36,32,0.18);
  clip-path: polygon(
    0% 2%, 4% 0%, 12% 1.5%, 20% 0%, 30% 1.2%, 40% 0%, 50% 1.5%, 60% 0%, 70% 1.2%, 80% 0%, 90% 1.5%, 100% 0%,
    100% 92%, 96% 100%, 88% 98%, 78% 100%, 68% 98%, 58% 100%, 48% 98%, 38% 100%, 28% 98%, 18% 100%, 8% 98%, 0% 100%
  );
  margin-left: 0.5rem;
}
.landmark-card h3 {
  margin: 0 0 0.75rem;
  color: var(--brick);
  font-size: 1.55rem;
}
.landmark-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
  opacity: 0.88;
}

@media (max-width: 700px) {
  .alley-route { padding-left: 2.75rem; }
  .alley-route::before { left: 0.95rem; }
  .pin-marker { left: -2.75rem; width: 2rem; height: 2rem; font-size: 1.2rem; }
}

/* ---------- Process strip ---------- */
.process-strip {
  background: var(--slate);
  color: #fff;
  padding: 3rem 1.25rem;
}
.process-strip h2 {
  max-width: 1140px;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: 2rem;
}
.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.02rem;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
}
.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(--brick);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.process-strip strong { color: #E7C9A9; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.faq h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 2rem;
  color: var(--ink);
}
.faq-item {
  background: var(--paper);
  border-left: 5px solid var(--brick);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-family: inherit;
  font-weight: bold;
  color: var(--slate);
}
.faq-item p { margin: 0; color: var(--ink); opacity: 0.85; }

/* ---------- CTA ---------- */
.cta-section {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--brick);
  color: #fff;
  border-radius: 14px;
}
.cta-section h2 { margin: 0 0 0.75rem; font-size: 1.9rem; }
.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: 999px;
  text-decoration: none;
  font-size: 1.05rem;
}
.btn-primary { background: var(--slate); color: #fff; }
.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.92rem;
  color: var(--ink);
  opacity: 0.8;
  text-align: center;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #E9E1D2;
  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(--brick); }
.mobile-cta.inquiry { background: var(--slate); }

@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}
