/* 인천바닥코팅전문 — 딥 네이비 항만 톤 + 웨이브 라인 모티프 + 2단 콘텐츠 레이아웃 */

:root {
  --navy: #003559;
  --navy-2: #012c48;
  --navy-3: #012238;
  --accent: #00A8E8;
  --accent-dim: rgba(0, 168, 232, 0.28);
  --fg: #EAF4FB;
  --muted: #9FC1D6;
  --heading-font: 'East Sea Dokdo', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--fg);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
p { color: var(--fg); margin: 0 0 18px; }
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); margin: 6px 0 14px; }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 0 0 16px; color: var(--accent); }
h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 56px 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 44, 72, 0.96);
  border-bottom: 1px solid var(--accent-dim);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.logo { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.menu-toggle {
  background: none; border: 2px solid var(--accent); border-radius: 6px;
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--accent); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy-2); border-top: 1px solid var(--accent-dim);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--fg); border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* buttons: 물결 밑단 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 14px 26px 20px;
  border: none; text-decoration: none; font-weight: 700; font-size: 0.96rem;
  clip-path: polygon(0% 0%, 100% 0%, 100% 78%, 92% 88%, 84% 78%, 76% 88%, 68% 78%, 60% 88%, 52% 78%, 44% 88%, 36% 78%, 28% 88%, 20% 78%, 12% 88%, 4% 78%, 0% 88%);
}
.btn-primary { background: var(--accent); color: #012238; }
.btn-ghost { background: rgba(0, 168, 232, 0.12); color: var(--accent); border: 1px solid var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* hero: 항만 웨이브 모티프 */
.hero {
  background: linear-gradient(180deg, var(--navy-2), var(--navy) 70%);
  overflow: hidden;
}
.harbor-waves {
  height: 30px;
  background-image:
    radial-gradient(circle at 10px 0, transparent 9px, var(--accent) 10px, transparent 11px),
    radial-gradient(circle at 0 0, transparent 9px, var(--accent-dim) 10px, transparent 11px);
  background-size: 20px 16px, 20px 16px;
  background-position: 0 -6px, 10px -6px;
  background-repeat: repeat-x;
  opacity: 0.9;
}
.hero-inner { padding: 44px 20px 52px; max-width: 720px; margin: 0 auto; text-align: left; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; color: var(--accent);
  margin: 0 0 8px; font-weight: 700; text-transform: uppercase;
}
.hero-sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }

/* content: 2단 레이아웃 (본문 + 지역 특징 박스) */
.content-section { border-top: 1px solid var(--accent-dim); }
.content-grid { display: block; }
.content-main h2:not(:first-child) { margin-top: 40px; }
.content-main a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.content-side { margin-top: 40px; }
.fact-box {
  background: var(--navy-2);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  padding: 28px 24px;
  position: relative;
}
.fact-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 24px);
}
.fact-box h2 { font-size: 1.5rem; margin-bottom: 18px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact-list li {
  padding-left: 20px; position: relative; color: var(--fg); font-size: 0.95rem;
}
.fact-list li::before {
  content: '~'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700;
}

/* faq / accordion */
.faq-section { background: var(--navy-2); border-top: 1px solid var(--accent-dim); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.accordion-trigger {
  width: 100%; text-align: left; min-height: 44px;
  background: none; border: none; color: var(--fg);
  font-size: 1rem; font-weight: 700; padding: 16px 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: inherit;
}
.accordion-trigger::after { content: '+'; color: var(--accent); font-size: 1.3rem; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"]::after { content: '-'; }
.accordion-panel { padding: 0 4px 18px; }
.accordion-panel p { color: var(--muted); margin: 0; }

/* cta */
.cta-section { background: var(--navy-3); border-top: 1px solid var(--accent-dim); }
.cta-inner { text-align: left; }
.cta-inner p { color: var(--muted); }

/* footer */
.site-footer { background: #011c2f; padding: 40px 20px 24px; }
.footer-nav {
  max-width: 1120px; margin: 0 auto 24px; display: flex; flex-wrap: wrap; gap: 14px 20px;
}
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--accent); }
address {
  max-width: 1120px; margin: 0 auto; font-style: normal; color: var(--muted); font-size: 0.88rem; line-height: 1.8;
}
address a { color: var(--accent); text-decoration: none; }
.site-footer p { max-width: 1120px; margin: 16px auto 0; color: #6c8ba0; font-size: 0.82rem; }

/* breakpoints */
@media (min-width: 480px) {
  .hero-cta { gap: 16px; }
}
@media (min-width: 768px) {
  #primary-nav { position: static; display: flex !important; flex-direction: row; background: none; border: none; padding: 0; gap: 20px; }
  #primary-nav a { border-bottom: none; min-height: auto; }
  .menu-toggle { display: none; }
  .hero-inner { padding: 60px 20px 68px; max-width: 900px; }
}
@media (min-width: 1024px) {
  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .content-side { margin-top: 0; position: sticky; top: 90px; }
  .hero-inner { max-width: 1000px; }
}
@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1200px; }
}

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