/* 수원배수로시공 — split-hero design
   font: Nanum Gothic / ink #1D3461 (royal navy) / accent #E9C46A (warm gold) */

:root {
  --ink: #1D3461;
  --ink-deep: #13233f;
  --ink-soft: #4a5f8a;
  --accent: #E9C46A;
  --accent-deep: #cf9f3c;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --line: #dfe4ee;
  --cream: #fbf3df;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nanum Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 0 var(--accent);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.01em;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: #cdd8ec;
  font-weight: 700;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 26px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem 1.1rem;
  background: var(--ink-deep);
}
.mobile-nav a {
  display: block;
  color: #e7ecf7;
  text-decoration: none;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-weight: 700;
}

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

/* ---------- split hero ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 62vh;
}
.split-hero-media {
  height: 100%;
  min-height: 320px;
}
.split-hero-media picture,
.split-hero-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.split-hero-copy {
  background: var(--ink);
  color: #eef1f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 4.5rem);
}
.split-hero-copy .eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}
.split-hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1.1rem;
  color: #fff;
}
.split-hero-copy .lead {
  margin: 0;
  font-size: 1.05rem;
  color: #d7deef;
  max-width: 46ch;
}

@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero-media { min-height: 260px; }
  .split-hero-copy { padding: 2.25rem 1.5rem; }
}

/* ---------- content columns ---------- */
.content-columns {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.25rem 0;
}
.content-row + .content-row {
  border-top: 1px solid var(--line);
}
.content-row--reverse .content-media { order: 2; }
.content-row--reverse .content-text { order: 1; }

.content-media img {
  border-radius: 6px;
  border: 1px solid var(--line);
}
.content-text h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.9rem;
  padding-left: 0.9rem;
  border-left: 5px solid var(--accent);
}
.content-text p {
  margin: 0 0 0.9rem;
  color: #33425e;
}
.content-text p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .content-row,
  .content-row--reverse {
    grid-template-columns: 1fr;
  }
  .content-row--reverse .content-media,
  .content-row--reverse .content-text { order: initial; }
}

/* ---------- checkpoints ---------- */
.checkpoints {
  background: var(--ink);
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.checkpoints h2 {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
}
.checkpoints ul {
  max-width: 1180px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.checkpoints li {
  color: #e7ecf7;
  position: relative;
  padding-left: 1.8rem;
  line-height: 1.6;
}
.checkpoints li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  background: var(--accent);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 700px) {
  .checkpoints ul { grid-template-columns: 1fr; }
}

/* ---------- faq ---------- */
.faq {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.faq h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item p {
  margin: 0;
  color: #445068;
}

/* ---------- cta ---------- */
.cta-section {
  background: var(--cream);
  border-top: 1px solid var(--accent-deep);
  border-bottom: 1px solid var(--accent-deep);
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.cta-section h2 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
}
.cta-section p {
  margin: 0 0 1.5rem;
  color: #4a4326;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-primary:hover { background: var(--ink-deep); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: #c4cce2;
  padding: 2.5rem 1.5rem 6rem;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  flex-wrap: wrap;
}
.site-footer nav a { color: #e7ecf7; text-decoration: none; font-weight: 700; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.85;
}
.site-footer address a { color: var(--accent); text-decoration: none; font-weight: 700; }

/* ---------- mobile sticky cta ---------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 30;
}
.mobile-cta {
  flex: 1;
  text-align: center;
  padding: 0.9rem 0;
  text-decoration: none;
  font-weight: 800;
}
.mobile-cta.call { background: var(--ink); color: #fff; }
.mobile-cta.inquiry { background: var(--accent); color: var(--ink); }

@media (max-width: 780px) {
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 6rem; }
}
