/* 우레탄바닥코팅전문 — 소프트 그린, 라운드 카드 스택형 */

:root {
  --primary: #2C5F2D;
  --accent: #97BC62;
  --bg: #F4F8F0;
  --card-bg: #FFFFFF;
  --text: #24331F;
  --text-soft: #4B5C44;
  --border: #DCE9CE;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(44, 95, 45, 0.10);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Spoqa Han Sans Neo", "Spoqa Han Sans JP", sans-serif;
  font-display: swap;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

.table-scroll { overflow-x: auto; }

/* Header: centered logo bar */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  position: relative;
}
.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.menu-toggle {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
#primary-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 4px 4px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
}
#primary-nav a:hover,
#primary-nav a:focus-visible {
  background: var(--bg);
  color: var(--primary);
}

@media (min-width: 768px) {
  .site-header { padding: 16px 24px; }
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 10px 0 0;
  }
}

/* Main: stacked rounded cards */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
}

.hero-card {
  background: linear-gradient(155deg, #2C5F2D 0%, #4A7A45 100%);
  color: #F4F8F0;
}
.hero-card h1 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.hero-card .lead {
  margin: 0 0 20px;
  font-size: 1rem;
  color: #E9F1E1;
}

h1, h2, h3 { color: var(--primary); letter-spacing: -0.01em; }
.hero-card h1 { color: #fff; }
h2 { font-size: 1.3rem; margin: 0 0 14px; }
h3 { font-size: 1.05rem; margin: 0; }
p { margin: 0 0 14px; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #1D3A1F;
  box-shadow: 0 6px 16px rgba(151, 188, 98, 0.35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #A9CC77;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(151, 188, 98, 0.45);
}
.hero-card .btn-primary {
  background: #fff;
  color: var(--primary);
}
.hero-card .btn-primary:hover,
.hero-card .btn-primary:focus-visible {
  background: #E9F1E1;
}

/* table */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
th {
  background: var(--bg);
  color: var(--primary);
  font-weight: 700;
}
td { color: var(--text-soft); }

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery picture {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(44, 95, 45, 0.15);
}
.gallery img { width: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-item:last-child { margin-bottom: 0; }
.accordion-trigger {
  width: 100%;
  min-height: 52px;
  text-align: left;
  background: var(--bg);
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: inherit;
}
.accordion-trigger::after {
  content: "+";
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--accent);
}
.accordion-trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion-panel { padding: 14px 16px; }
.accordion-panel p { margin: 0; }

/* related links */
.related-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.related-links a:hover,
.related-links a:focus-visible { text-decoration: underline; }

.cta-card {
  text-align: center;
  border: 2px solid var(--accent);
}

/* footer */
.site-footer {
  background: var(--primary);
  color: #E9F1E1;
  padding: 28px 16px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 880px;
  margin: 0 auto 18px;
}
.footer-nav a {
  color: #E9F1E1;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover,
.footer-nav a:focus-visible { text-decoration: underline; }
.site-footer address {
  max-width: 880px;
  margin: 0 auto 12px;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #CFE0C4;
}
.site-footer address a { color: #fff; }
.site-footer p {
  max-width: 880px;
  margin: 0 auto;
  color: #A9C296;
  font-size: 0.82rem;
}

@media (min-width: 480px) {
  .card { padding: 28px 24px; }
  .hero-card h1 { font-size: 1.9rem; }
}

@media (min-width: 1024px) {
  main { padding: 32px 16px 60px; }
  .card { padding: 36px 40px; }
  .hero-card h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
}

@media (min-width: 1280px) {
  main { max-width: 960px; }
}
