/* ═══════════════════════════════
   PAL LAB — COMMON STYLES
═══════════════════════════════ */

:root {
  --green-dark: #1a3328;
  --green-mid: #2d5a3d;
  --green-accent: #3d7a55;
  --green-light: #5a9e72;
  --teal: #2a7a7a;
  --cream: #f8f5ef;
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray-mid: #888;
  --black: #111;
  --border: #e0e0e0;
  --red: #c0392b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 24px;
  width: auto;
  /* 로고 배경이 검정이라 필터로 teal 색상 유지하면서 배경 제거 */
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(400%) hue-rotate(150deg) brightness(85%);
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border: 1px solid var(--black);
  transition: all 0.2s;
}

nav a:hover {
  background: var(--black);
  color: var(--white);
}

/* ── FAQ ── */
.faq-section {
  padding: 100px 64px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-left h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-left p {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.faq-list { border-top: 1px solid var(--border); }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--green-accent); }

.faq-q .icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-mid);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding-bottom: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  height: 22px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(400%) hue-rotate(150deg) brightness(85%);
}

.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 13.5px;
  color: #555;
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover { background: var(--black); color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 0 24px; }
  .faq-section { padding: 72px 24px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-social { justify-content: flex-start; }
}
