/* 착한기업 v3 — promal.kr 벤치마크 시안 */
:root {
  --bg-dark: #000;
  --bg-light: #f5f5f5;
  --bg-white: #fff;
  --text: #111;
  --text-on-dark: #fff;
  --muted: #888;
  --muted-dark: #b0b0b0;
  --card: #1a1a1a;
  --line: rgba(0, 0, 0, 0.08);
  --font-kr: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --font-en: "Montserrat", "Pretendard", sans-serif;
  --header-h: 80px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
  word-break: keep-all;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong { font-weight: 700; }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 20px;
  background: #000;
  color: #fff;
}
.skip:focus { left: 16px; top: 16px; }

.inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}
.logo img { width: 200px; height: auto; }
.logo-light { display: none; }

.btn-menu {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.btn-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: background 0.25s;
}

/* Full menu */
.full-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}
.full-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.full-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}
.btn-close {
  position: relative;
  width: 44px;
  height: 44px;
}
.btn-close::before,
.btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
}
.btn-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.btn-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.full-menu-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 28px 60px;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.menu-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-primary a {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.menu-primary a:hover { opacity: 0.7; }

.sitemap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.sitemap .depth1 {
  display: block;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
}
.sitemap .depth2 li + li { margin-top: 10px; }
.sitemap .depth2 a {
  color: var(--muted-dark);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.sitemap .depth2 a:hover { color: #fff; }

body.menu-open { overflow: hidden; }

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.25s, opacity 0.25s;
}
.btn-pill:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-pill-light {
  background: #fff;
  color: #111;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: calc(var(--header-h) + 20px) 24px 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
.hero-eyebrow {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}
.hero .btn-pill { animation: fadeUp 0.8s 0.2s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About */
.about {
  padding: 100px 0 80px;
  background: var(--bg-white);
}
.about-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.about-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 18px;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.stat-card {
  background: var(--card);
  color: #fff;
  border-radius: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-num i {
  font-style: normal;
  font-size: 0.45em;
  margin-left: 4px;
  vertical-align: super;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Partners */
.partners {
  padding: 80px 0 60px;
  background: var(--bg-light);
  overflow: hidden;
}
.sec-head {
  text-align: center;
  margin-bottom: 48px;
}
.sec-head h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.sec-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.partner-marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partner-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.partner-track span {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cfcfcf;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reviews */
.reviews {
  padding: 90px 0 70px;
  background: var(--bg-white);
}
.review-swiper { overflow: hidden; padding-bottom: 48px; }
.review-card {
  background: #f7f7f7;
  border-radius: 24px;
  padding: 40px 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.review-card h3 {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 18px;
}
.review-card > p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}
.review-author {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-author strong { font-size: 1rem; }
.review-author span { color: var(--muted); font-size: 0.88rem; }
.review-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.review-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}
.review-pagination .swiper-pagination-bullet-active {
  background: #111;
  width: 22px;
  border-radius: 999px;
}

/* Work */
.work {
  padding: 80px 0 70px;
  background: var(--bg-light);
}
.work-swiper { overflow: hidden; }
.work-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  color: #fff;
  position: relative;
  aspect-ratio: 4 / 5;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.78));
}
.work-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}
.work-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.work-body strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.4;
}
.work-card:hover img { transform: scale(1.05); }

/* News */
.news {
  padding: 90px 0 80px;
  background: var(--bg-white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}
.news-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  transition: opacity 0.2s;
}
.news-item:hover { opacity: 0.78; }
.news-thumb {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1.2;
  background: #eee;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-text strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Contact CTA */
.contact-cta {
  padding: 110px 24px;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.cta-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.contact-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 36px;
}
.ft-logo img { width: 200px; margin-bottom: 18px; }
.copyright {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: #666;
}
.footer-info p + p { margin-top: 8px; }
.footer-info a:hover { color: #fff; }
.family-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 12px;
}
.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.footer-links a { font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.util-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.util-links a { color: #777; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 992px) {
  .sitemap { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-card { min-height: 280px; padding: 28px 24px; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .logo img { width: 160px; }
  .header-inner { padding: 0 18px; }
  .hero { padding-bottom: 64px; }
  .hero-bg { object-position: center 60%; }
  .about, .partners, .reviews, .work, .news { padding-top: 64px; padding-bottom: 56px; }
  .stats-grid { gap: 12px; }
  .stat-card { min-height: 140px; border-radius: 16px; padding: 28px 14px; }
  .news-item { grid-template-columns: 120px 1fr; gap: 14px; }
  .sitemap { grid-template-columns: 1fr; gap: 24px; }
  .menu-primary { gap: 10px 20px; }
  .contact-cta { padding: 80px 20px; }
  .btn-pill { min-width: 0; width: 100%; max-width: 320px; height: 52px; }
}
