/* ============================================
   EXIT & Co. LLC — Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2d6a4f;       /* dark green */
  --primary-light: #52b788;
  --primary-pale: #d8f3dc;
  --accent: #f4a261;        /* warm orange */
  --dark: #1a1a2e;
  --dark-2: #2d2d44;
  --gray-1: #f8f9fa;
  --gray-2: #e9ecef;
  --gray-3: #dee2e6;
  --gray-4: #adb5bd;
  --gray-5: #6c757d;
  --text: #212529;
  --text-light: #495057;
  --white: #ffffff;
  --nav-h: 72px;
  --section-pad: 100px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  overflow-x: hidden;
  max-width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,106,79,0.3);
}
.btn-primary:hover {
  background: #235c42;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); padding: 16px; }

/* ---------- Section Tags & Titles ---------- */
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.section-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-title em { font-style: italic; color: var(--primary); }
.section-title.white em { color: var(--primary-light); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-5);
  max-width: 560px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  border-bottom-color: var(--gray-3);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:not(.nav-cta):hover { color: var(--primary); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: #235c42; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 16px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu li { border-bottom: 1px solid var(--gray-2); }
.mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { background: var(--gray-1); color: var(--primary); }

/* ============================================
   HERO — Logo-Crop Floating Letters
   ============================================ */

#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* ---------- 상단 카피 (EXIT 위 좌측 정렬) ---------- */
.hero-top {
  width: 100%;
  padding: 36px 8vw 0;   /* EXIT 좌우 여백 8vw에 맞춤 */
  animation: fadeInUp 0.75s ease forwards;
  opacity: 0;
  /* EXIT 크기의 40% 기준으로 JS가 font-size 동기화 */
}

/* "Korean Brands." / "American Shelves." */
.hero-tagline-line {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.0;
  color: #111111;
  letter-spacing: -0.02em;
  display: block;
  font-size: clamp(0.515rem, 1.114vw, 1.201rem);  /* 5% 추가 축소 */
  margin-top: 0;
  margin-bottom: 0;
}

/* 두 번째 줄(American Shelves.)과 Global 사이에만 약간의 간격 */
.hero-tagline-line + .hero-tagline-line {
  margin-top: 2px;
}

/* "Global Retail Entry Agency" — 로고 녹색 */
.hero-agency-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;              /* 수정2: 볼드 */
  line-height: 1.2;
  color: #3a7d52;
  letter-spacing: -0.02em;
  display: block;
  font-size: clamp(0.6rem, 1.3vw, 1.4rem);
  margin-top: 10px;
}

/* ---------- EXIT 이미지 크롭 플로팅 래퍼 ---------- */
.hero-brand-name {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 64px;         /* 49 + 15 = 15px 추가 하향 */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  animation: fadeInUp 0.9s ease 0.12s forwards;
  opacity: 0;
  position: relative;
}

/* 4개 letter 이미지를 가로로 배치 — 좌우 여백 적용 */
.exit-letters-wrap {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8vw;
  gap: 0;
  box-sizing: border-box;
  overflow: hidden; /* 모바일에서 넘침 방지 */
}

/* JS가 생성하는 각 letter 래퍼 */
.exit-letter-box {
  display: flex;
  align-items: flex-end;
  cursor: default;
  user-select: none;
  will-change: transform;
  overflow: hidden;
}
/* 선명한 이미지 렌더링 */
.exit-letter-box img {
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ---------- 개별 플로팅 keyframes ---------- */
@keyframes fl1 {
  0%   { transform: translateY(16px)  rotate(-0.5deg); }
  50%  { transform: translateY(-26px) rotate(0.6deg); }
  100% { transform: translateY(16px)  rotate(-0.5deg); }
}
@keyframes fl2 {
  0%   { transform: translateY(-20px) rotate(0.7deg); }
  50%  { transform: translateY(30px)  rotate(-0.8deg); }
  100% { transform: translateY(-20px) rotate(0.7deg); }
}
@keyframes fl3 {
  0%   { transform: translateY(14px)  rotate(-0.3deg); }
  50%  { transform: translateY(-22px) rotate(0.4deg); }
  100% { transform: translateY(14px)  rotate(-0.3deg); }
}
@keyframes fl4 {
  0%   { transform: translateY(-18px) rotate(0.6deg); }
  50%  { transform: translateY(28px)  rotate(-0.6deg); }
  100% { transform: translateY(-18px) rotate(0.6deg); }
}

.exit-letter-box.anim-e { animation: fl1 3.4s ease-in-out infinite; }
.exit-letter-box.anim-x { animation: fl2 2.9s ease-in-out 0.5s infinite; }
.exit-letter-box.anim-i { animation: fl3 3.7s ease-in-out 1.0s infinite; }
.exit-letter-box.anim-t { animation: fl4 3.1s ease-in-out 0.25s infinite; }

.exit-letter-box:hover {
  filter: sepia(1) saturate(3) hue-rotate(100deg) brightness(0.7);
  animation-play-state: paused;
}

/* ---------- 스크롤 힌트 ---------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #3a7d52;
  font-size: 0.99rem;            /* 1.1 × 0.9 = 10% 축소 */
  font-weight: 700;              /* 수정1: 볼드 */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  animation: scrollHintFloat 2.8s ease-in-out infinite;  /* 수정1: 플로팅 */
}
@keyframes scrollHintFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-8px); }
}
.bounce { animation: bounceDown 1.6s ease-in-out infinite; }
@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(7px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.bounce { animation: bounceDown 1.6s ease-in-out infinite; }
@keyframes bounceDown {
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(7px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   ABOUT
   ============================================ */
/* ===== ABOUT ===== */
#about {
  padding: var(--section-pad) 0;
  background: var(--white);
  overflow: hidden;
}

/* 8vw 좌우 여백 */
.about-inner {
  padding: 0 8vw;
  max-width: 100%;
  overflow: hidden;
}

/* 좌: 텍스트(넓게) / 우: 이미지 — 텍스트 가로 가독성 유지 */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

/* 텍스트 영역: Who We Are ~ 본문 묶음 */
.about-text-block {
  display: flex;
  flex-direction: column;
}

/* Who We Are — 녹색 텍스트, 원형 배경 없음 */
.about-tag {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* About 타이틀 — 한줄, 30% 키움, 전체 같은 색상 */
.about-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 32px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-desc {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1.22rem;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── CO-FOUNDER 블록 ── */
.about-founder {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.founder-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.94rem;        /* 0.72 × 1.3 = 30% UP */
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--dark);        /* 검정 */
  text-transform: uppercase;
  margin-bottom: 6px;
}
.founder-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.8rem;         /* 1.2rem × 1.5 = 50% UP */
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dark);
  white-space: nowrap;
  line-height: 1;
}
/* Stella Kim + 시그니처 가로 한 줄 */
.founder-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;           /* CO-FOUNDER 바로 아래 밀착 */
}
.founder-sig {
  display: block;
  height: 250px;             /* 250px 고정 */
  width: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: contrast(1.2) brightness(0.95);
}
/* Younkyu Shin — Stella Kim 아래 */
.founder-name-second {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dark);
  white-space: nowrap;
  line-height: 1;
  margin-top: -16px;         /* 시그니처와 자연스럽게 붙도록 */
}

/* 우측 이미지 — 텍스트 높이에 맞게 */
.about-img-col {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-col:hover .about-img {
  transform: scale(1.04);
}
.about-feat-card.accent .feat-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.feat-icon {
  width: 40px; height: 40px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 4px;
}
.about-feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.about-feat-card p {
  font-size: 0.88rem;
  color: var(--gray-5);
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
/* ===== SERVICES ===== */
#services {
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

/* 상단 헤더 — 타이틀+설명 왼쪽 / 버튼 오른쪽 */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: var(--section-pad) 8vw 48px;
  border-bottom: 1px solid var(--gray-3);
}
.services-header-left {
  flex: 1;
  max-width: 620px;
}
.services-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: 0.06em;   /* Who We Are 자간과 동일 */
  text-transform: uppercase; /* 대문자 */
}
.services-desc {
  font-size: 1.12rem;
  color: var(--gray-5);
  line-height: 1.85;
  white-space: normal;
}
.services-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1.5px solid var(--dark);
  border-radius: 50px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.services-btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* 하단 3개 카드 — 가로 3등분, 풀 높이 이미지 배경 */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 676px;             /* 520px × 1.3 = 30% UP */
}
.svc-card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: default;
  transition: transform 0.5s ease;
}
.svc-card:hover {
  transform: scale(1.02);
  z-index: 2;
}
/* 어두운 그라디언트 오버레이 */
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.30) 55%,
    rgba(0, 0, 0, 0.10) 100%
  );
  transition: background 0.4s ease;
}
.svc-card:hover .svc-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.40) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
/* 카드 텍스트 — 하단 좌측 정렬 */
.svc-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 36px 40px;
  color: var(--white);
  z-index: 1;
}
.svc-num {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.svc-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.svc-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 280px;
}
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
.services-grid .service-card:nth-child(4) { grid-column: 1 / 2; }
.services-grid .service-card:nth-child(5) { grid-column: 2 / 3; }

/* ============================================
   RETAILERS
   ============================================ */
/* ===== RETAILERS ===== */
#retailers {
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

/* 헤더 — SERVICES와 동일 구조 */
.retailers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: var(--section-pad) 8vw 48px;
  border-bottom: 1px solid var(--gray-3);
}
.retailers-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.retailers-desc {
  font-size: 1.12rem;
  color: var(--gray-5);
  line-height: 1.85;
  white-space: normal;
}

/* 마퀴 영역 — 높이 2배 (padding 52→104) */
.retailers-marquee-wrap {
  width: 100%;
  overflow: hidden !important;
  padding: 104px 0;
  background: #fff;
  border-top: 1px solid var(--gray-3);
  border-bottom: 1px solid var(--gray-3);
  max-width: 100vw;
}
.retailers-marquee {
  display: flex;
  align-items: center;
  gap: 160px;          /* 간격도 2배 */
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
/* 마우스 올려도 계속 진행 */
.retailers-marquee-wrap:hover .retailers-marquee {
  animation-play-state: running;
}

/* 오른쪽 → 왼쪽 이동 */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 개별 로고 — img에 직접 크기 고정 */
.marquee-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 0.3s ease;
}
.marquee-logo:hover {
  transform: scale(1.05);
}
.marquee-logo img {
  display: block !important;
  width: 320px !important;   /* 직접 고정 */
  height: 100px !important;  /* 직접 고정 */
  max-width: none !important; /* 전역 max-width:100% 무력화 */
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: saturate(1.6) contrast(1.2) brightness(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.marquee-logo:hover img {
  filter: saturate(2.0) contrast(1.3) brightness(1.05);
}

/* ============================================
   CLIENTS
   ============================================ */
#clients {
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

/* 헤더 — RETAIL CHANNELS와 동일 구조 */
.clients-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: var(--section-pad) 8vw 48px;
  border-bottom: 1px solid var(--gray-3);
}
.clients-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.clients-desc {
  font-size: 1.12rem;
  color: var(--gray-5);
  line-height: 1.85;
}

/* 카드 그리드 — 4열 */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 8vw 56px;
  gap: 24px;
}

/* 개별 카드 */
.client-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* 이미지/배경 영역 */
.client-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;   /* 세로형 비율 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Stellence처럼 실제 로고 이미지 사용하는 카드 */
.client-card-img--light {
  align-items: center;
  justify-content: center;
}

/* 배경 이미지형 카드 */
.client-card-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 어두운 반투명 오버레이 — 로고 가독성 확보 */
.client-card-bg .client-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
  transition: background 0.35s ease;
}
.client-card:hover .client-card-bg .client-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.22) 50%,
    rgba(0,0,0,0.38) 100%
  );
}

/* 배경 위 로고 — 흰색 반전으로 어느 배경에서도 선명하게 */
.client-card-bg .client-logo-img {
  position: relative;
  z-index: 2;
  width: 65% !important;
  max-height: 50% !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.4)) !important;
  transition: transform 0.35s ease, filter 0.35s ease !important;
}
.client-card:hover .client-card-bg .client-logo-img {
  transform: scale(1.06);
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.55)) !important;
}

/* Canvas JS로 흰 배경 제거 + 흰색 재색칠한 로고 — filter 중복 적용 방지 */
.client-card-bg .client-logo-img.client-logo-white-convert {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4)) !important;
}
.client-card:hover .client-card-bg .client-logo-img.client-logo-white-convert {
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.55)) !important;
}

/* 일반 로고 이미지 (기본값) */
.client-logo-img {
  display: block !important;
  width: 65% !important;
  height: auto !important;
  max-width: none !important;
  max-height: 50% !important;
  object-fit: contain;
}

/* 브랜드명 오버레이 */
.client-overlay-logo {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  text-align: center;
  padding: 0 16px;
  line-height: 1.2;
}

/* 카드 하단 정보 */
.client-card-info {
  padding: 14px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.client-name-kr {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.client-category {
  font-size: 0.82rem;
  color: var(--gray-5);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.clients-cta {
  text-align: center;
  padding: 48px;
  margin: 0 8vw 80px;
  background: linear-gradient(135deg, var(--primary-pale), #e8f5e9);
  border-radius: var(--radius);
  border: 1px solid rgba(45,106,79,0.15);
}
.clients-cta p {
  font-size: 1.728rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}
.clients-cta .btn {
  font-size: 1.368rem;
  padding: 18px 44px;
}

/* ============================================
   WHY US
   ============================================ */
#why {
  padding: var(--section-pad) 0;
}
.why-inner {
  background: linear-gradient(135deg, #1a3c2e 0%, #2d6a4f 60%, #40916c 100%);
  padding: var(--section-pad) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-desc {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 1rem;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-check {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: var(--section-pad) 0;
  background: var(--white);
}

/* Contact 섹션 타이틀 — 30% 확대 */
.contact-title {
  font-size: clamp(2.34rem, 4.16vw, 3.64rem) !important;
  line-height: 1.22 !important;
  margin-bottom: 20px !important;
  color: var(--dark) !important;
}
.contact-title span,
.contact-title-green {
  color: var(--primary) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.69rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--primary);
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 0;
}
.contact-item {
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.ci-icon { display: none; }
.ci-label {
  display: block;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ci-value {
  font-size: 1.235rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.2s;
}
a.ci-value:hover { color: var(--primary); }

/* ── Contact Form — 투명 배경, 언더라인 필드 ── */
.contact-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.form-group label {
  font-size: 0.864rem;
  font-weight: 600;
  color: #3a3a3a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-group label span { color: var(--primary); }

/* 언더라인 인풋 */
.form-group input,
.form-group textarea {
  padding: 4px 0 12px 0;
  border: none;
  border-bottom: 1.5px solid var(--gray-3);
  border-radius: 0;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  transition: border-color 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-4); }
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--dark);
  box-shadow: none;
}
.form-group input.error,
.form-group textarea.error {
  border-bottom-color: #e74c3c;
}
.form-group textarea {
  resize: none;
  min-height: 90px;
  line-height: 1.7;
}

/* Inquiry Type — 태그 버튼 선택 */
.form-group--tags {
  margin-bottom: 32px;
}
.inquiry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.inquiry-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1.5px solid var(--gray-3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-5);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.inquiry-tag:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.inquiry-tag.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.inquiry-tag.error-tag {
  border-color: #e74c3c;
}

/* Send Message 버튼 — 그린 */
.btn-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(45,106,79,0.25);
}
.btn-contact-submit:hover {
  background: #235c42;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.35);
}

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #d8ede3;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(45,106,79,0.2);
}
.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) saturate(100%);
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(30,60,40,0.6);
  line-height: 1.7;
}
.footer-nav-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30,60,40,0.5);
  margin-bottom: 16px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(30,60,40,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(30,60,40,0.7);
  line-height: 1.6;
}
.footer-contact a {
  font-size: 0.88rem;
  color: rgba(30,60,40,0.7);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(30,60,40,0.45);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── 태블릿 (1024px 이하) ── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .about-content { gap: 40px; }
  .why-grid { gap: 48px; }
  .services-desc { white-space: normal; }
  .retailers-desc { white-space: normal; }
}

/* ── 태블릿 세로 (900px 이하) ── */
@media (max-width: 900px) {
  .hero-top { padding: 20px 5vw 0; }
  .hero-brand-name { padding-top: 40px; }

  /* About 2열 → 1열 */
  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-img-col { min-height: 300px; }
  .about-title { white-space: normal; }

  /* Services 헤더 */
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 60px 6vw 36px;
  }
  .services-desc { white-space: normal; }

  /* Services 카드 3열 → 1열 세로 */
  .services-cards {
    grid-template-columns: 1fr;
    height: auto;
  }
  .svc-card { height: 340px; }

  /* Retailers 헤더 */
  .retailers-header {
    padding: 60px 6vw 36px;
  }
  .retailers-desc { white-space: normal; }

  /* Clients 4열 → 2열 */
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-header { padding: 60px 6vw 36px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── 모바일 (768px 이하) ── */
@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-top { padding: 16px 5vw 0; }
  .exit-letters-wrap { padding: 0 4vw; }
  .hero-scroll-hint { font-size: 0.75rem; }
  /* About */
  .about-inner { padding: 0 5vw; }
  .about-tag { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .about-title {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    white-space: normal;
  }
  .about-desc { font-size: 1rem; }
  .about-img-col { min-height: 240px; }
  .founder-sig { height: 160px; }
  .founder-name { font-size: 1.4rem; }

  /* Services */
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 48px 5vw 28px;
  }
  .services-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .services-desc { font-size: 0.95rem; white-space: normal; }
  .services-btn { align-self: flex-start; }
  .services-cards {
    grid-template-columns: 1fr;
    height: auto;
  }
  .svc-card { height: 300px; }
  .svc-title { font-size: 1.4rem; }

  /* Retailers */
  .retailers-header {
    padding: 48px 5vw 28px;
  }
  .retailers-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .retailers-desc { font-size: 0.95rem; white-space: normal; }
  .retailers-marquee-wrap { padding: 56px 0; }
  .retailers-marquee { gap: 80px; }
  .marquee-logo img {
    width: 180px !important;
    height: 60px !important;
  }

  /* Clients */
  .clients-header { padding: 48px 5vw 28px; }
  .clients-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 5vw 40px;
    gap: 16px;
  }
  .clients-cta {
    margin: 0 5vw 60px;
    padding: 32px 24px;
  }
  .clients-cta p { font-size: 1.2rem; }
  .clients-cta .btn { font-size: 1rem; padding: 14px 28px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-inner { padding: 60px 0; }
  .section-title.white { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-title {
    font-size: clamp(1.7rem, 5.5vw, 2.6rem) !important;
  }
  .section-sub { font-size: 0.95rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-tags { gap: 8px; }
  .inquiry-tag { font-size: 0.8rem; padding: 7px 14px; }
  .ci-value { font-size: 1rem; }
  .ci-label { font-size: 0.8rem; }
  .contact-info h3 { font-size: 1.3rem; margin-bottom: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ── 모바일 소형 (480px 이하) ── */
@media (max-width: 480px) {
  :root { --section-pad: 52px; }

  /* Hero */
  .hero-top { padding: 12px 4vw 0; }
  .hero-brand-name { padding-top: 28px; }
  .exit-letters-wrap { padding: 0 3vw; }

  /* About */
  .about-inner { padding: 0 4vw; }
  .about-desc { font-size: 0.95rem; line-height: 1.75; }
  .about-title { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  .founder-sig { height: 120px; }

  /* Services */
  .services-header { padding: 40px 4vw 24px; }
  .svc-card { height: 260px; }
  .svc-card-body { padding: 24px 24px 28px; }

  /* Retailers */
  .retailers-header { padding: 40px 4vw 24px; }
  .retailers-marquee-wrap { padding: 40px 0; }
  .retailers-marquee { gap: 56px; }
  .marquee-logo img {
    width: 130px !important;
    height: 44px !important;
  }

  /* Clients */
  .clients-header { padding: 40px 4vw 24px; }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 4vw 32px;
    gap: 12px;
  }
  .clients-cta { margin: 0 4vw 48px; padding: 24px 16px; }
  .clients-cta p { font-size: 1rem; }

  /* Why */
  .why-inner { padding: 48px 0; }
  .why-desc { font-size: 0.92rem; }
  .why-item h4 { font-size: 0.95rem; }
  .why-item p { font-size: 0.82rem; }

  /* Contact */
  .contact-title {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
  }
  .section-header { margin-bottom: 36px; }
  .inquiry-tag { font-size: 0.75rem; padding: 6px 12px; }

  /* Footer */
  .footer-inner { gap: 24px; }
  .footer-bottom { font-size: 0.72rem; }
}

/* ── 초소형 (360px 이하) ── */
@media (max-width: 360px) {
  .clients-grid { grid-template-columns: 1fr; }
  .about-title { font-size: 1.1rem; }
  .contact-title { font-size: 1.3rem !important; }
}
