/* 파주배수로시공 — Dongle / forest-sage split-hero, rounded-soft treatment */

:root {
  --ink: #344E41;
  --ink-soft: #3F5C4C;
  --sage: #A3B18A;
  --sage-light: #E4E9DC;
  --cream: #F8F7F1;
  --white: #FFFFFF;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow-soft: 0 20px 45px rgba(52, 78, 65, 0.16);
  --shadow-soft-sm: 0 10px 26px rgba(52, 78, 65, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Dongle', 'Noto Sans KR', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 { font-weight: 700; margin: 0 0 0.6em; line-height: 1.25; }
p { margin: 0 0 1em; }

a { color: inherit; }

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

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

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sage-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 1.3rem;
  color: var(--ink-soft);
  padding: 0.4rem 0.2rem;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--sage);
}
.main-nav { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--sage-light);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 3px;
}
.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--sage-light);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.4rem;
  display: block;
  padding: 0.4rem 0;
}

@media (min-width: 860px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- split hero ---------- */
.split-hero {
  max-width: 1120px;
  margin: 1.75rem auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-media {
  height: 280px;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  background: var(--ink);
  color: var(--white);
  padding: 2.5rem 1.75rem 2.75rem;
}
.hero-copy h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5em;
}
.hero-copy .lead {
  font-size: 1.35rem;
  color: var(--sage-light);
  max-width: 42em;
  margin: 0;
}

@media (min-width: 860px) {
  .split-hero { flex-direction: row; min-height: 480px; }
  .hero-media { height: auto; width: 50%; }
  .hero-copy {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 4rem;
  }
  .hero-copy h1 { font-size: 3.75rem; }
}

/* ---------- content container ---------- */
main > .panel,
#checkpoints,
#faq,
#cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}

/* ---------- alternating panels ---------- */
.panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.panel-media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
}
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-text h2 {
  font-size: 2.2rem;
  color: var(--ink);
}
.panel-text p { font-size: 1.2rem; }

@media (min-width: 860px) {
  .panel { flex-direction: row; align-items: center; gap: 3rem; }
  .panel-media { flex: 0 0 46%; }
  .panel-text { flex: 1; }
  .panel.reverse { flex-direction: row-reverse; }
}

/* ---------- checkpoint block ---------- */
.checkpoint-block {
  background: var(--sage-light);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.checkpoint-block h2 {
  font-size: 2.2rem;
  color: var(--ink);
}
.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem 1rem 3rem;
  position: relative;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft-sm);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  color: var(--white);
  background: var(--ink);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ---------- FAQ ---------- */
#faq h2 { font-size: 2.2rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft-sm);
}
.faq-item h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.4em;
}
.faq-a { font-size: 1.2rem; margin: 0; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-block {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 3rem 1.75rem;
  margin-bottom: 2.5rem;
}
.cta-block h2 { font-size: 2.4rem; color: var(--white); }
.cta-block p { font-size: 1.3rem; color: var(--sage-light); max-width: 42em; margin: 0 auto 1.5rem; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--sage); color: #000; font-weight: 700; }
.btn-primary:hover { background: #8FA073; }
.btn-outline {
  background: transparent;
  border-color: var(--sage-light);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sage-light);
  padding: 2.5rem 1.5rem 6rem;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.site-footer nav a {
  text-decoration: none;
  color: var(--sage-light);
  font-size: 1.2rem;
}
.site-footer address {
  font-style: normal;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}
.site-footer address a { color: var(--white); text-decoration: underline; }
.site-footer p { max-width: 1120px; margin: 1.5rem auto 0; font-size: 1rem; opacity: 0.8; }

/* ---------- mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 150;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
.mobile-cta {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-cta.call { background: var(--ink); color: var(--white); }
.mobile-cta.inquiry { background: var(--sage); color: var(--ink); }

@media (min-width: 860px) {
  .mobile-cta-bar { display: none; }
  .site-footer { padding-bottom: 2.5rem; }
}
