/* 마곡동배수로시공 — 유리온실(glasshouse) 모티프, Hahmlet, 유리녹색·테크블루·연녹백 팔레트 */

:root {
  --ink: #1E4B3F;
  --accent: #3E8ED9;
  --bg: #F2F7F5;
  --card-bg: rgba(255, 255, 255, 0.55);
  --card-bg-solid: #EAF3F0;
  --mullion: rgba(30, 75, 63, 0.35);
  --text-soft: #2C4A42;
  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(--text-soft);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Hahmlet", serif;
  font-weight: 700;
}

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

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

.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-family: "Hahmlet", serif;
  font-weight: 600;
  font-size: 1.5rem;
  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: 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 { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(58deg, transparent 0 78px, rgba(255,255,255,0.35) 78px 80px),
    repeating-linear-gradient(-32deg, transparent 0 78px, rgba(255,255,255,0.22) 78px 80px);
  pointer-events: none;
}
.hero-copy {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(165deg, #FFFFFF 0%, var(--bg) 100%);
}
.eyebrow {
  color: var(--accent);
  font-weight: bold;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.hero-copy h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.hero-copy .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
}

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

/* ---------- Landmark notes / glasshouse panel cards ---------- */
.landmark-notes {
  max-width: 1140px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.landmark-notes h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ink);
}
.glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: linear-gradient(135deg, #DCEAE5, #D6E7F2);
  padding: 1.25rem;
  border-radius: 18px;
}
.glass-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 2.5rem 1.25rem 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(30,75,63,0.12);
}
/* greenhouse mullion frame lines: diagonal + hexagonal-feel grid */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(60deg, transparent 47%, var(--mullion) 49% 51%, transparent 53%),
    linear-gradient(-60deg, transparent 47%, var(--mullion) 49% 51%, transparent 53%),
    linear-gradient(180deg, transparent 0 6px, var(--mullion) 6px 7px, transparent 7px);
  opacity: 0.55;
  pointer-events: none;
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mullion);
  border-radius: 10px;
  pointer-events: none;
}
.glass-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  position: absolute;
  top: 0.9rem;
  left: 1.15rem;
}
.glass-card h3 {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.4;
}
.glass-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .glass-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .glass-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.65rem;
}
.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.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;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}
.process-strip strong { color: #A9D6C8; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 3.5rem auto;
  padding: 0 1.25rem;
}
.faq h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--ink);
}
.faq-item {
  position: relative;
  background: var(--card-bg-solid);
  border: 1px solid rgba(30,75,63,0.15);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--ink));
}
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item p { margin: 0; color: var(--text-soft); }

/* ---------- CTA ---------- */
.cta-section {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--ink), #14352C);
  color: #fff;
  border-radius: 14px;
}
.cta-section h2 { margin: 0 0 0.75rem; font-size: 1.55rem; color: #fff; }
.cta-section p { margin: 0 0 1.5rem; opacity: 0.9; }
.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(--accent); color: #fff; 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;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.gallery-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.5);
  background:
    linear-gradient(60deg, transparent 47%, rgba(255,255,255,0.3) 49% 51%, transparent 53%),
    linear-gradient(-60deg, transparent 47%, rgba(255,255,255,0.3) 49% 51%, transparent 53%);
  pointer-events: none;
}
.gallery-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  text-align: center;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #DCEAE5;
  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); color: #fff; font-weight: bold; }
.mobile-cta.inquiry { background: var(--ink); }

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