/* 포천바닥왁스전문 — 한탄강 물결 곡선 콘셉트: 딥블루 + 아이보리, 웨이브 디바이더/블롭 프레임 */
:root {
  --blue: #1D4E7A;
  --blue-dark: #123354;
  --blue-line: #33587D;
  --ivory: #FAF6EC;
  --ivory-deep: #F0E9D6;
  --card: #FFFFFF;
  --ink: #23211A;
  --muted: #5C5B4F;
  --gold: #C89A4B;
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  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: "Gowun Dodum", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 5.2vw, 2.6rem); color: #fff; }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); color: var(--blue); }
h3 { font-family: "Gowun Dodum", "Noto Sans KR", sans-serif; font-weight: 400; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue-dark);
  border-bottom: 3px solid var(--gold);
}
.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: "Gowun Dodum", "Noto Sans KR", sans-serif;
  font-size: 1.25rem;
  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(--blue-line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--gold);
}
#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: #EDE6D2;
  text-decoration: none;
  border-top: 1px solid var(--blue-line);
}

/* ---------- 물결 데코 ---------- */
.wave-row {
  height: 26px;
  background-image: radial-gradient(circle at 25px 0, transparent 16px, var(--blue-dark) 17px);
  background-size: 50px 26px;
  background-repeat: repeat-x;
  background-position: top;
  background-color: var(--gold);
  opacity: .5;
}

.wave-divider {
  height: 34px;
  background-image: radial-gradient(circle at 25px 34px, transparent 18px, var(--ivory) 19px);
  background-size: 50px 40px;
  background-repeat: repeat-x;
  background-position: top;
  background-color: var(--blue);
  opacity: .9;
}

/* ---------- hero ---------- */
.hero-section {
  background: var(--blue-dark);
  position: relative;
}
.hero-inner { padding-top: 2.6rem; padding-bottom: 3.2rem; }
.eyebrow {
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #E4E0CC;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- 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: "Gowun Dodum", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--gold); }

/* ---------- content ---------- */
.content-section { background: var(--ivory); }
.content-section h2 { position: relative; padding-left: 1.3rem; }
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: .8rem;
  height: .8rem;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(45deg);
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--blue); text-decoration: underline; }
.content-section ul { padding-left: 1.2rem; }
.content-section li { margin-bottom: .5rem; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
th, td { border: 1px solid #E4DCC4; padding: .75rem 1rem; text-align: left; font-size: .95rem; }
thead th { background: var(--blue); color: #fff; }

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

/* ---------- footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: #D8D2BC;
  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: #B9B29A;
}
.site-footer address a { color: var(--gold); text-decoration: none; }

/* ---------- 현장 사진: 물결 블롭 프레임 ---------- */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 42px 20px; }
.site-photo-section h2 { color: var(--blue); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.site-photo-grid picture {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 38px 12px 38px 12px;
  border: 3px solid var(--card);
  box-shadow: 0 6px 18px rgba(29,78,122,.18);
}
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 관련 페이지 ---------- */
.related-section { background: var(--ivory-deep); }
.related-section h2 { color: var(--blue); }
.related-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 1.2rem;
}
.related-cards a {
  display: block;
  background: var(--card);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(29,78,122,.1);
  transition: box-shadow .15s ease;
}
.related-cards a:hover { box-shadow: 0 4px 14px rgba(29,78,122,.2); }
@media (min-width: 640px) { .related-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--ivory); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border-radius: 16px; overflow: hidden; margin-bottom: .8rem; background: var(--card); box-shadow: 0 2px 8px rgba(29,78,122,.08); }
.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(--blue);
  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: '+'; color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; }
.faq-section .accordion-panel p { color: var(--muted); margin: 0; }

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

/* ---------- 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: 4.2rem 2rem; }
  .hero-inner { padding-top: 3.6rem; padding-bottom: 4.2rem; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5.2rem 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; }
}
