/* 과천바닥코팅전문 — 서울대공원 나뭇잎 모티프: 포레스트그린 + 민트, 유기적 곡선 */
:root {
  --forest: #1F4032;
  --forest-dark: #14291F;
  --forest-line: #2C5745;
  --mint: #6FBF9B;
  --mint-dark: #3E8A69;
  --paper: #F3F8F4;
  --card: #FFFFFF;
  --ink: #1B2620;
  --muted: #4F6058;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1, h2 {
  font-family: "Gaegu", "Noto Sans KR", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mint);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 5.4vw, 2.8rem); color: #fff; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); color: var(--forest); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--forest-dark);
  border-bottom: 3px dashed var(--mint);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: "Gaegu", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--forest-line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--mint);
  border-radius: 2px;
}
#primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 .5rem;
  color: #E5F0E9;
  text-decoration: none;
  border-top: 1px dashed var(--forest-line);
}

/* ---------- leaf decorations ---------- */
.leaf-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
  background: var(--forest-dark);
}
.leaf-row .leaf {
  width: 20px;
  height: 20px;
  background: var(--mint);
  border-radius: 0 100% 0 100%;
  transform: rotate(45deg);
  opacity: .5;
}
.leaf-row .leaf:nth-child(2n) { opacity: .28; transform: rotate(-45deg); }
.leaf-row .leaf:nth-child(3) { opacity: .8; }

.leaf-divider {
  height: 30px;
  background:
    radial-gradient(circle at 15% 0, transparent 12px, var(--paper) 13px) 0 -6px / 30px 20px repeat-x,
    var(--mint-dark);
  opacity: .55;
}

/* ---------- hero ---------- */
.hero-section {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(111,191,155,.18), transparent 55%),
    var(--forest-dark);
  position: relative;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3.2rem; }
.eyebrow {
  color: var(--mint);
  font-size: .85rem;
  letter-spacing: .04em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #DCEBE1;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- leaf-pill buttons ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 2.2rem;
  font-family: "Gaegu", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px 999px 999px 4px;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--forest-dark); }
.btn-ghost { background: transparent; color: var(--mint); border: 2px solid var(--mint); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-left: 1.3rem; }
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: .7rem;
  height: .7rem;
  background: var(--mint-dark);
  border-radius: 0 100% 0 100%;
  transform: rotate(45deg);
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--mint-dark); text-decoration: underline; }

.table-scroll { overflow-x: auto; margin: 1.2em 0; border-radius: 14px; }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--card); }
.table-scroll th, .table-scroll td { padding: .75em 1em; border-bottom: 1px solid #DCE9E0; text-align: left; font-size: .95rem; }
.table-scroll thead th { background: var(--forest); color: #fff; }
.table-scroll tbody tr:last-child td { border-bottom: none; }

/* ---------- CTA ---------- */
.cta-section { background: var(--forest); }
.cta-section h2 { color: #fff; }
.cta-inner p { color: #DCEBE1; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: #C6D9CC;
  padding: 1rem 1.25rem;
}
.site-footer address {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.5;
  color: #A3BCAC;
}
.site-footer address a { color: var(--mint); text-decoration: none; }

.last-modified { font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- 관련 페이지 ---------- */
.related-section { background: #E4F0E8; }
.related-section p { color: var(--ink); }
.related-section a { color: var(--mint-dark); text-decoration: underline; }
.related-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1.4rem;
}
.related-card {
  display: block;
  background: var(--card);
  border: 2px solid var(--mint);
  border-radius: 0 16px 0 16px;
  padding: 1rem 1.2rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none !important;
  color: var(--forest) !important;
  transition: background .15s ease;
}
.related-card:hover { background: #DCF0E4; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border: 2px solid var(--forest-line); border-radius: 0 18px 0 18px; margin-bottom: .8rem; background: var(--card); overflow: hidden; }
.faq-section .accordion-item h3 { margin: 0; font-size: 1rem; }
.faq-section .accordion-trigger {
  width: 100%;
  text-align: left;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.faq-section .accordion-trigger::after {
  content: '';
  width: .65rem;
  height: .65rem;
  flex-shrink: 0;
  background: var(--mint-dark);
  border-radius: 0 100% 0 100%;
  opacity: .55;
  transition: transform .15s ease, opacity .15s ease;
}
.faq-section .accordion-trigger[aria-expanded="true"]::after { opacity: 1; transform: rotate(180deg); }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; }
.faq-section .accordion-panel p { color: var(--muted); margin: 0; }

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--forest); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 0 28px 0 28px; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .btn { padding: .9rem 2.5rem; }
}

@media (min-width: 768px) {
  .header-inner { padding: 16px 32px; }
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
  }
  #primary-nav a {
    border-top: none;
    min-height: auto;
    line-height: normal;
    padding: 0;
  }
  .section-inner { padding: 4rem 2rem; }
  .hero-inner { padding-top: 3.6rem; padding-bottom: 4.2rem; }
  .related-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .content-section .section-inner { max-width: 900px; }
}

@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1280px; }
  .content-section .section-inner { max-width: 960px; margin: 0 auto; }
  .related-cards { grid-template-columns: repeat(6, 1fr); }
}
