/* 안산바닥코팅전문 — 산업단지 구역도 콘셉트: 헥사곤 클립패스, 다크 슬레이트/세이지 그린 */
:root {
  --slate: #2F3E46;
  --slate-dark: #1E282D;
  --slate-line: #3E4F58;
  --sage: #84A98C;
  --sage-dark: #5D7A67;
  --paper: #F2F5F2;
  --card: #FFFFFF;
  --ink: #1C2422;
  --muted: #52605A;
}

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

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

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

/* ---------- hexagon decorations ---------- */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
  background: var(--slate-dark);
}
.hex-row .hex {
  width: 22px;
  height: 24px;
  background: var(--sage);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: .55;
}
.hex-row .hex:nth-child(2n) { opacity: .3; }
.hex-row .hex:nth-child(3) { opacity: .85; }

.hex-divider {
  height: 34px;
  background:
    linear-gradient(135deg, var(--sage) 25%, transparent 25.5%) -8px 0,
    linear-gradient(225deg, var(--sage) 25%, transparent 25.5%) -8px 0,
    linear-gradient(315deg, var(--sage) 25%, transparent 25.5%) 0 0,
    linear-gradient(45deg,  var(--sage) 25%, transparent 25.5%) 0 0;
  background-size: 24px 24px;
  background-color: var(--paper);
  opacity: .5;
}

/* ---------- hero ---------- */
.hero-section {
  background: var(--slate-dark);
  position: relative;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
.eyebrow {
  color: var(--sage);
  font-size: .85rem;
  letter-spacing: .06em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #DCE4DF;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- hexagon 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.1rem;
  font-family: "Jua", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--sage); color: var(--slate-dark); }
.btn-ghost { background: transparent; color: var(--sage); border: 1px solid var(--sage); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-left: 1.1rem; }
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: .6rem;
  height: .6rem;
  background: var(--sage);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--sage-dark); text-decoration: underline; }

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

/* ---------- footer ---------- */
.site-footer {
  background: var(--slate-dark);
  color: #C8D2CC;
  padding: 2.5rem 1.25rem 2rem;
}
.footer-nav {
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.footer-nav a {
  color: #C8D2CC;
  text-decoration: none;
  font-size: .9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--sage); }
.site-footer address {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.8;
  color: #A9B6AF;
}
.site-footer address a { color: var(--sage); text-decoration: none; }
.site-footer p { max-width: 1080px; margin: 0 auto; font-size: .8rem; color: #8B978F; }

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

@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: 4rem; }
}

@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; }
}

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--slate); 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(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%); }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
