:root {
  --navy: #2C3A4A;
  --navy-soft: #3E5063;
  --cyan: #4FB8D9;
  --paper: #F4F7F9;
  --line: #D6DEE4;
  --ink: #1F2A35;
  --muted: #5B6B78;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Noto Sans KR", sans-serif; font-display: swap;
  color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.75;
}
h1, h2, h3 { font-family: "Gugi", cursive; font-weight: 400; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--cyan); color: var(--navy); padding: 10px 16px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; }
.header-inner { max-width: 820px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 400; font-size: 1.15rem; text-decoration: none; color: #fff; font-family: "Gugi", cursive; }
.main-nav ul { list-style: none; display: none; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; color: #DCE8EE; }
.hamburger { width: 44px; height: 44px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 500; border-top: 1px solid rgba(255,255,255,.15); min-height: 44px; }
@media (min-width: 768px) { .main-nav ul { display: flex; } .hamburger { display: none; } .mobile-nav { display: none !important; } }

main { max-width: 780px; margin: 0 auto; padding: 0 20px 80px; }
.breadcrumb { padding: 16px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; }

.hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 8px; margin-bottom: 40px; padding: 0;
}
.hero-img { width: 100%; height: 46vh; min-height: 300px; object-fit: cover; display: block; filter: saturate(.92) brightness(.96); }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 6vw; background: linear-gradient(100deg, rgba(44,58,74,.95) 34%, rgba(44,58,74,.28) 92%);
  color: #fff;
}
.roof-tag {
  display: inline-block; font-size: .74rem; letter-spacing: .12em; color: var(--navy); font-weight: 700;
  border-radius: 3px; padding: 5px 14px; margin: 0 0 16px; align-self: flex-start;
  background: var(--cyan);
}
.hero-overlay h1 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); margin: 0 0 14px; color: #fff; font-weight: 400; letter-spacing: .01em; }
.hero-lead { color: #D9E4EA; margin: 0; max-width: 620px; }

.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 1.28rem; margin: 0 0 20px; color: var(--navy); }
.section > p { color: var(--muted); }

/* roof-section: horizontal stacked-band cross-section of a rooftop build-up, top layer first */
.roof-section {
  display: flex; flex-direction: column; margin: 26px 0; border: 1px solid var(--navy); border-radius: 4px; overflow: hidden;
}
.roof-layer {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--navy) calc(14% + var(--depth) * 7%), var(--paper));
  border-top: 1px solid rgba(255,255,255,.35);
}
.roof-layer:first-child { border-top: none; }
.layer-label {
  flex: 0 0 auto; font-weight: 700; font-size: .95rem; color: var(--navy);
  position: relative; padding-left: 16px;
}
.roof-layer:nth-child(4) .layer-label,
.roof-layer:nth-child(5) .layer-label,
.roof-layer:nth-child(6) .layer-label { color: #fff; }
.layer-label::before { content: ""; position: absolute; left: 0; top: 4px; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; }
.layer-note { margin: 0; font-size: .85rem; color: var(--muted); flex: 1 1 260px; }
.roof-layer:nth-child(4) .layer-note,
.roof-layer:nth-child(5) .layer-note,
.roof-layer:nth-child(6) .layer-note { color: #E3EAEF; }

/* zone-tags: corner-notched tag cards, distinct from card-grid patterns used elsewhere */
.zone-tags { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.zone-tag {
  position: relative; background: #fff; padding: 20px 20px 18px 22px;
  border: 1px solid var(--line); border-left: 4px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.zone-tag::before {
  content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, var(--navy) 50%);
}
.zone-tag h3 { font-size: 1rem; margin: 0 0 10px; color: var(--navy); font-family: "Noto Sans KR", sans-serif; font-weight: 700; }
.zone-tag p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.7; }
@media (min-width: 700px) { .zone-tags { grid-template-columns: repeat(2, 1fr); } }

.site-photos { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.site-photos figure { margin: 0; }
.site-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.site-photos figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (min-width: 700px) { .site-photos { grid-template-columns: repeat(2, 1fr); } }

.faq-section .accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: var(--ink);
}
.accordion-trigger::after { content: "+"; color: var(--navy); font-weight: 700; background: transparent; border: 2px solid var(--cyan); border-radius: 50%; width: 22px; height: 22px; flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.accordion-trigger[aria-expanded="true"]::after { content: "-"; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

.links-section p { color: var(--ink); }
.links-section a { text-decoration: underline; color: var(--navy); font-weight: 700; }

.cta-section { display: flex; gap: 12px; flex-wrap: wrap; padding: 36px 0 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 3px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }

.site-footer { background: var(--navy); color: #D9E4EA; padding: 44px 20px 100px; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0 0 22px; padding: 0; max-width: 820px; margin-left: auto; margin-right: auto; }
.site-footer nav a { color: #fff; text-decoration: none; font-size: .92rem; }
.site-footer address { font-style: normal; font-size: .88rem; line-height: 1.85; text-align: center; }
.site-footer a[href^="tel:"] { color: var(--cyan); font-weight: 700; }
.site-footer p { text-align: center; }

.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 150; box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
.mobile-cta { flex: 1; min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.mobile-cta.call { background: var(--cyan); color: var(--navy); }
.mobile-cta.inquiry { background: var(--navy); color: #fff; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }

@media (max-width: 640px) {
  .roof-layer { padding: 12px 14px; }
}

/* ---------- 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}
