/* 하남바닥코팅전문 — 한강 곡선 모티프: 아쿠아블루 + 화이트, 미사강변도시 콘셉트 */
:root {
  --aqua: #0891B2;
  --aqua-deep: #075985;
  --aqua-soft: #E0F7FA;
  --aqua-line: #A5E4EC;
  --paper: #F7FDFE;
  --card: #FFFFFF;
  --ink: #0F2A30;
  --muted: #4B6B72;
}

* { 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: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.35;
  color: var(--aqua-deep);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 5.2vw, 2.8rem); color: #fff; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--aqua-deep);
  border-bottom: 3px solid var(--aqua);
}
.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: "Do Hyeon", "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(--aqua-line);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  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: #E5F8FB;
  text-decoration: none;
  border-top: 1px solid var(--aqua-line);
}

/* ---------- river curve decorations ---------- */
.river-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  padding-top: 14px;
  background: var(--aqua-deep);
}
.river-row .river-curve {
  width: 70px;
  height: 26px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--aqua);
  opacity: .5;
}
.river-row .river-curve:nth-child(2) { height: 34px; opacity: .8; background: #fff; }
.river-row .river-curve:nth-child(3) { opacity: .35; }

.river-divider {
  height: 40px;
  background: var(--aqua-soft);
  position: relative;
  overflow: hidden;
}
.river-divider::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -60px;
  height: 100px;
  background: var(--paper);
  border-radius: 50%;
}

/* ---------- hero ---------- */
.hero-section {
  background: linear-gradient(160deg, var(--aqua-deep) 0%, var(--aqua) 100%);
  position: relative;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.eyebrow {
  color: var(--aqua-soft);
  font-size: .85rem;
  letter-spacing: .06em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #EAFBFD;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- pill buttons (river-smooth, not hexagon) ---------- */
.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: "Do Hyeon", "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: #fff; color: var(--aqua-deep); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }

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

.table-scroll { overflow-x: auto; margin: 1.2rem 0; border-radius: 12px; }
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--card);
}
.table-scroll th, .table-scroll td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--aqua-line);
  text-align: left;
  font-size: .95rem;
}
.table-scroll thead th {
  background: var(--aqua-soft);
  color: var(--aqua-deep);
  font-weight: 700;
}

.last-modified {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--muted);
  font-size: .85rem;
}

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

/* ---------- footer ---------- */
.site-footer {
  background: var(--aqua-deep);
  color: #CFF1F5;
  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: #A9DCE4;
}
.site-footer address a { color: #fff; text-decoration: none; }

/* ---------- 관련 페이지 ---------- */
.related-section { background: var(--aqua-soft); }
.related-section p { color: var(--ink); }
.related-section a { color: var(--aqua-deep); text-decoration: underline; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: 1.2rem;
}
.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--aqua-line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-decoration: none !important;
  color: var(--aqua-deep) !important;
  font-weight: 700;
  min-height: 44px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.related-card:hover { box-shadow: 0 6px 16px rgba(8,145,178,.18); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border: 1px solid var(--aqua-line); border-radius: 14px; 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(--aqua-deep);
  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(--aqua); 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; }

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--aqua-deep); 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: 26px 26px 8px 8px; }
.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.5rem; padding-bottom: 4.5rem; }
  .related-grid { 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-grid { grid-template-columns: repeat(6, 1fr); }
}
