/* ================================================================
   HOME-V3.CSS  — W-WEBSOFT 홈페이지 전용 스타일 v3.0
   dlnl.co.kr 스타일 참고: 클린 화이트 + 딥 블루 + 대형 타이포
   ww-tokens.css 디자인 토큰 기반
   ================================================================ */

/* ================================================================
   § 1. HERO SECTION
   ================================================================ */
.wh-hero {
  position: relative;
  /* body에 이미 padding-top: 72px 있으므로 추가 오프셋 불필요 (ww-header-v3.css) */
  min-height: calc(100svh - var(--ww-header-h));
  display: flex;
  align-items: center;
  background: var(--ww-grad-hero);
  overflow: hidden;
}

/* 배경 장식 오브 */
.wh-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}
.wh-hero__orb--1 {
  width: 600px; height: 600px;
  background: rgba(16, 87, 245, .12);
  top: -180px; right: -120px;
}
.wh-hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(124, 58, 237, .10);
  bottom: -80px; left: -80px;
}
.wh-hero__orb--3 {
  width: 300px; height: 300px;
  background: rgba(6, 182, 212, .08);
  top: 40%; left: 50%;
}

/* 그리드 패턴 */
.wh-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,87,245,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,87,245,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.wh-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(40px, 6vw, 80px);
}

.wh-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* 히어로 텍스트 영역 */
.wh-hero__text { max-width: 600px; }

.wh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(16, 87, 245, .08);
  border: 1px solid rgba(16, 87, 245, .15);
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-xs);
  font-weight: 600;
  color: var(--ww-primary);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.wh-hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ww-primary);
  animation: wh-pulse 2s infinite;
}
@keyframes wh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.wh-hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ww-text);
  word-break: keep-all;
  margin: 0 0 20px;
  padding: 0;
}
.wh-hero__headline em {
  font-style: normal;
  background: var(--ww-grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wh-hero__sub {
  font-size: clamp(var(--ww-text-base), 2vw, var(--ww-text-xl));
  color: var(--ww-text-sub);
  line-height: 1.7;
  margin: 0 0 36px;
  padding: 0;
  word-break: keep-all;
}

.wh-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

/* 신뢰 지표 */
.wh-hero__trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--ww-border-light);
}
.wh-hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wh-hero__trust-num {
  font-size: var(--ww-text-2xl);
  font-weight: 900;
  color: var(--ww-primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.wh-hero__trust-label {
  font-size: var(--ww-text-xs);
  color: var(--ww-text-mute);
  font-weight: 500;
}
.wh-hero__trust-divider {
  width: 1px;
  height: 36px;
  background: var(--ww-border-light);
}

/* 히어로 비주얼 */
.wh-hero__visual {
  position: relative;
  /* 뱃지가 카드 밖으로 나오므로 padding으로 여백 확보 */
  padding: 24px 24px 24px 0;
}
.wh-hero__visual-card {
  background: var(--ww-surface);
  border: 1px solid var(--ww-border-light);
  border-radius: var(--ww-r-xl);
  padding: 32px;
  box-shadow: var(--ww-shadow-xl);
  position: relative;
  overflow: hidden;
}
.wh-hero__visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ww-grad-primary);
  opacity: .04;
}
.wh-hero__visual-browser {
  background: var(--ww-bg-alt);
  border-radius: var(--ww-r-md);
  overflow: hidden;
  border: 1px solid var(--ww-border-light);
}
.wh-hero__visual-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ww-bg);
  border-bottom: 1px solid var(--ww-border-light);
}
.wh-hero__visual-browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.wh-hero__visual-browser-dot:nth-child(1) { background: #ff5f57; }
.wh-hero__visual-browser-dot:nth-child(2) { background: #febc2e; }
.wh-hero__visual-browser-dot:nth-child(3) { background: #28c840; }
.wh-hero__visual-browser-url {
  margin-left: 10px;
  flex: 1;
  font-size: 11px;
  color: var(--ww-text-mute);
  background: var(--ww-bg-soft);
  border-radius: var(--ww-r-sm);
  padding: 4px 10px;
}
.wh-hero__visual-browser-screen {
  aspect-ratio: 16/9;
  background: var(--ww-grad-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wh-hero__visual-browser-screen-content {
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: var(--ww-text-sm);
  font-weight: 700;
  letter-spacing: .04em;
}
/* 플로팅 뱃지 */
.wh-hero__float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ww-surface);
  border-radius: var(--ww-r-lg);
  box-shadow: var(--ww-shadow-lg);
  border: 1px solid var(--ww-border-light);
  font-size: var(--ww-text-xs);
  font-weight: 600;
  color: var(--ww-text);
  white-space: nowrap;
}
.wh-hero__float-badge--1 { top: 0; left: -16px; }
.wh-hero__float-badge--2 { bottom: 8px; right: 0; }
.wh-hero__float-badge-icon {
  width: 28px; height: 28px;
  border-radius: var(--ww-r-sm);
  background: var(--ww-grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .wh-hero__layout { grid-template-columns: 1fr; }
  .wh-hero__visual { display: none; }
  .wh-hero__headline { font-size: clamp(2rem, 7vw, 3rem); }
}

/* 다크 모드 히어로 */
[data-theme="dark"] .wh-hero {
  background: var(--ww-grad-hero);
}
[data-theme="dark"] .wh-hero__orb--1 { background: rgba(16, 87, 245, .18); }
[data-theme="dark"] .wh-hero__orb--2 { background: rgba(124, 58, 237, .15); }
[data-theme="dark"] .wh-hero__visual-card {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}

/* ================================================================
   § 2. MARQUEE (파트너/기술스택)
   ================================================================ */
.wh-marquee {
  padding-block: 40px;
  background: var(--ww-bg);
  border-block: 1px solid var(--ww-border-light);
  overflow: hidden;
}
.wh-marquee__label {
  text-align: center;
  font-size: var(--ww-text-xs);
  font-weight: 600;
  color: var(--ww-text-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.wh-marquee__track {
  display: flex;
  gap: 48px;
  animation: wh-scroll 28s linear infinite;
  width: max-content;
}
.wh-marquee__track:hover { animation-play-state: paused; }
@keyframes wh-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.wh-marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--ww-bg-alt);
  border: 1px solid var(--ww-border-light);
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-sm);
  font-weight: 600;
  color: var(--ww-text-sub);
  white-space: nowrap;
  transition: all var(--ww-duration-base) var(--ww-ease);
  cursor: default;
  flex-shrink: 0;
}
.wh-marquee__item:hover {
  background: var(--ww-primary-light);
  color: var(--ww-primary);
  border-color: rgba(16,87,245,.2);
}
[data-theme="dark"] .wh-marquee {
  background: var(--ww-bg-alt);
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-marquee__item {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}

/* ================================================================
   § 3. SERVICES
   ================================================================ */
.wh-services {
  background: var(--ww-bg);
}
.wh-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wh-svc-card {
  position: relative;
  background: var(--ww-surface);
  border: 1px solid var(--ww-border-light);
  border-radius: var(--ww-r-xl);
  padding: 36px 32px;
  transition: all var(--ww-duration-slow) var(--ww-ease-snap);
  overflow: hidden;
  cursor: pointer;
}
.wh-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ww-grad-primary);
  opacity: 0;
  transition: opacity var(--ww-duration-slow) var(--ww-ease);
  border-radius: inherit;
}
.wh-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 87, 245, .25);
  box-shadow: var(--ww-shadow-lg);
}
.wh-svc-card:hover::before { opacity: .04; }
.wh-svc-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--ww-r-lg);
  background: var(--ww-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ww-primary);
  margin-bottom: 20px;
  transition: all var(--ww-duration-base) var(--ww-ease-back);
}
.wh-svc-card:hover .wh-svc-card__icon {
  background: var(--ww-grad-primary);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.wh-svc-card__title {
  font-size: var(--ww-text-xl);
  font-weight: 700;
  color: var(--ww-text);
  margin: 0 0 10px;
  padding: 0;
  letter-spacing: -.02em;
}
.wh-svc-card__desc {
  font-size: var(--ww-text-sm);
  color: var(--ww-text-sub);
  line-height: 1.7;
  margin: 0 0 20px;
  padding: 0;
  word-break: keep-all;
}
.wh-svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wh-svc-card__arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ww-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ww-text-mute);
  font-size: 14px;
  transition: all var(--ww-duration-base) var(--ww-ease-back);
}
.wh-svc-card:hover .wh-svc-card__arrow {
  background: var(--ww-primary);
  border-color: var(--ww-primary);
  color: #fff;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .wh-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wh-services__grid { grid-template-columns: 1fr; }
  .wh-svc-card { padding: 28px 24px; }
}

[data-theme="dark"] .wh-svc-card {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-svc-card__icon {
  background: rgba(16,87,245,.12);
}

/* ================================================================
   § 4. PORTFOLIO
   ================================================================ */
.wh-portfolio {
  background: var(--ww-bg-alt);
}
.wh-portfolio__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.wh-portfolio__tab {
  padding: 8px 20px;
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-sm);
  font-weight: 600;
  border: 1.5px solid var(--ww-border-medium);
  background: transparent;
  color: var(--ww-text-sub);
  cursor: pointer;
  transition: all var(--ww-duration-base) var(--ww-ease);
}
.wh-portfolio__tab.is-active,
.wh-portfolio__tab:hover {
  background: var(--ww-primary);
  border-color: var(--ww-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16,87,245,.3);
}
.wh-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wh-pf-card {
  border-radius: var(--ww-r-xl);
  overflow: hidden;
  background: var(--ww-surface);
  border: 1px solid var(--ww-border-light);
  transition: all var(--ww-duration-slow) var(--ww-ease-snap);
  text-decoration: none;
  display: block;
  box-shadow: var(--ww-shadow-xs);
}
.wh-pf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ww-shadow-lg);
  border-color: rgba(16,87,245,.2);
}
.wh-pf-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--ww-grad-primary);
}
.wh-pf-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ww-ease-snap);
}
.wh-pf-card:hover .wh-pf-card__thumb img { transform: scale(1.06); }
.wh-pf-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,.4);
}
.wh-pf-card__body {
  padding: 20px 24px;
}
.wh-pf-card__cat {
  font-size: var(--ww-text-xs);
  font-weight: 600;
  color: var(--ww-primary);
  margin: 0 0 8px;
  padding: 0;
  letter-spacing: .04em;
}
.wh-pf-card__title {
  font-size: var(--ww-text-lg);
  font-weight: 700;
  color: var(--ww-text);
  margin: 0 0 8px;
  padding: 0;
  letter-spacing: -.01em;
  word-break: keep-all;
}
.wh-pf-card__desc {
  font-size: var(--ww-text-sm);
  color: var(--ww-text-sub);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wh-portfolio__more {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .wh-portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .wh-portfolio__grid { grid-template-columns: 1fr; }
}
[data-theme="dark"] .wh-portfolio { background: var(--ww-bg-alt); }
[data-theme="dark"] .wh-pf-card {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}

/* ================================================================
   § 5. WHY US — BENTO GRID
   ================================================================ */
.wh-why {
  background: var(--ww-bg);
}
.wh-why__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.wh-bento-card {
  border-radius: var(--ww-r-xl);
  border: 1px solid var(--ww-border-light);
  background: var(--ww-surface);
  padding: 28px;
  overflow: hidden;
  position: relative;
  transition: all var(--ww-duration-slow) var(--ww-ease-snap);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wh-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ww-shadow-md);
  border-color: rgba(16,87,245,.2);
}
.wh-bento-card--span3  { grid-column: span 3; }
.wh-bento-card--span4  { grid-column: span 4; }
.wh-bento-card--span5  { grid-column: span 5; }
.wh-bento-card--span7  { grid-column: span 7; }
.wh-bento-card--span8  { grid-column: span 8; }
.wh-bento-card--span12 { grid-column: span 12; }
.wh-bento-card--row2   { grid-row: span 2; }

.wh-bento-card--primary {
  background: var(--ww-grad-primary);
  border-color: transparent;
  color: #fff;
}
.wh-bento-card--dark {
  background: var(--ww-text);
  border-color: transparent;
  color: #fff;
}
.wh-bento-card__num {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ww-primary);
  margin-bottom: 8px;
}
.wh-bento-card--primary .wh-bento-card__num,
.wh-bento-card--dark .wh-bento-card__num {
  color: rgba(255,255,255,.4);
}
.wh-bento-card__title {
  font-size: var(--ww-text-lg);
  font-weight: 700;
  letter-spacing: -.02em;
  word-break: keep-all;
  margin: 0;
  padding: 0;
}
.wh-bento-card--primary .wh-bento-card__title,
.wh-bento-card--dark .wh-bento-card__title { color: #fff; }
.wh-bento-card__desc {
  font-size: var(--ww-text-sm);
  color: var(--ww-text-sub);
  margin-top: 6px;
  word-break: keep-all;
  line-height: 1.6;
}
.wh-bento-card--primary .wh-bento-card__desc,
.wh-bento-card--dark .wh-bento-card__desc { color: rgba(255,255,255,.7); }
.wh-bento-card__icon {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 32px;
  opacity: .15;
}
.wh-bento-card--primary .wh-bento-card__icon,
.wh-bento-card--dark .wh-bento-card__icon { opacity: .2; color: #fff; }

@media (max-width: 1024px) {
  .wh-bento-card--span3 { grid-column: span 6; }
  .wh-bento-card--span4 { grid-column: span 6; }
  .wh-bento-card--span5 { grid-column: span 6; }
  .wh-bento-card--span7 { grid-column: span 6; }
  .wh-bento-card--span8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .wh-why__bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; min-height: 0; }
  .wh-bento-card { min-height: 140px; }
  .wh-bento-card--span3,
  .wh-bento-card--span4,
  .wh-bento-card--span5,
  .wh-bento-card--span7,
  .wh-bento-card--span8 { grid-column: span 2; }
  .wh-bento-card--span12 { grid-column: span 2; }
  .wh-bento-card--row2 { grid-row: span 1; }
}
@media (max-width: 420px) {
  .wh-why__bento { grid-template-columns: 1fr; }
  .wh-bento-card--span3,
  .wh-bento-card--span4,
  .wh-bento-card--span5,
  .wh-bento-card--span7,
  .wh-bento-card--span8,
  .wh-bento-card--span12 { grid-column: span 1; }
}
[data-theme="dark"] .wh-bento-card {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-bento-card__desc { color: var(--ww-text-mute); }

/* ================================================================
   § 6. PROCESS
   ================================================================ */
.wh-process {
  background: var(--ww-bg-alt);
}
.wh-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.wh-process__grid::before {
  content: '';
  position: absolute;
  top: 36px;
  /* 4열 그리드에서 첫 열 중심 → 마지막 열 중심 (gap 3개 포함 계산)
     각 열너비 = (100% - 3*24px) / 4
     첫 열 중심 = 첫 열너비의 절반 = (100% - 72px) / 8
     마지막 열 중심(right) = 같은 값 */
  left: calc((100% - 72px) / 8 + 36px);
  right: calc((100% - 72px) / 8 + 36px);
  height: 2px;
  background: var(--ww-grad-primary);
  opacity: .2;
}
.wh-process-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--ww-surface);
  border: 1px solid var(--ww-border-light);
  border-radius: var(--ww-r-xl);
  position: relative;
  transition: all var(--ww-duration-slow) var(--ww-ease-snap);
}
.wh-process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--ww-shadow-md);
  border-color: rgba(16,87,245,.2);
}
.wh-process-step__num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ww-primary-light);
  color: var(--ww-primary);
  font-size: var(--ww-text-xl);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--ww-bg-alt);
  transition: all var(--ww-duration-base) var(--ww-ease-back);
  position: relative;
  z-index: 1;
}
.wh-process-step:hover .wh-process-step__num {
  background: var(--ww-grad-primary);
  color: #fff;
  transform: scale(1.1);
}
.wh-process-step__icon {
  font-size: 22px;
  color: var(--ww-primary);
  margin-bottom: 16px;
}
.wh-process-step__title {
  font-size: var(--ww-text-lg);
  font-weight: 700;
  color: var(--ww-text);
  margin: 0 0 10px;
  padding: 0;
  letter-spacing: -.01em;
}
.wh-process-step__desc {
  font-size: var(--ww-text-sm);
  color: var(--ww-text-sub);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  word-break: keep-all;
}

@media (max-width: 860px) {
  .wh-process__grid { grid-template-columns: repeat(2, 1fr); }
  .wh-process__grid::before { display: none; }
}
@media (max-width: 480px) {
  .wh-process__grid { grid-template-columns: 1fr; }
}
[data-theme="dark"] .wh-process { background: var(--ww-bg-alt); }
[data-theme="dark"] .wh-process-step {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-process-step__num { background: rgba(16,87,245,.12); border-color: var(--ww-bg-alt); }

/* ================================================================
   § 7. REVIEWS / TESTIMONIALS
   ================================================================ */
.wh-reviews {
  background: var(--ww-bg);
}
.wh-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  min-width: 0;
}
@media (max-width: 1024px) {
  .wh-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wh-reviews__grid { grid-template-columns: 1fr; }
}
.wh-review-card {
  background: var(--ww-surface);
  border: 1px solid var(--ww-border-light);
  border-radius: var(--ww-r-xl);
  padding: 32px;
  transition: all var(--ww-duration-slow) var(--ww-ease-snap);
}
.wh-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ww-shadow-md);
}
.wh-review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 16px;
}
.wh-review-card__text {
  font-size: var(--ww-text-base);
  color: var(--ww-text-sub);
  line-height: 1.8;
  margin: 0 0 24px;
  padding: 0;
  word-break: keep-all;
}
.wh-review-card__text::before { content: '"'; }
.wh-review-card__text::after  { content: '"'; }
.wh-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wh-review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ww-grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--ww-text-lg);
  color: #fff;
  flex-shrink: 0;
}
.wh-review-card__name {
  font-size: var(--ww-text-base);
  font-weight: 700;
  color: var(--ww-text);
  margin: 0;
  padding: 0;
}
.wh-review-card__company {
  font-size: var(--ww-text-xs);
  color: var(--ww-text-mute);
  margin: 2px 0 0;
  padding: 0;
}
.wh-reviews__swiper { padding-bottom: 48px !important; }
.wh-reviews__swiper .swiper-pagination-bullet {
  background: var(--ww-primary);
}

[data-theme="dark"] .wh-review-card {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}

/* ================================================================
   § 8. FAQ
   ================================================================ */
/* ================================================================
   § 8. FAQ — 프리미엄 아코디언 디자인 리뉴얼
   ================================================================ */
.wh-faq {
  background: var(--ww-bg-alt);
}
.wh-faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  width: 100%;
  min-width: 0;
}
.wh-faq__sidebar {
  position: sticky;
  top: 100px;
  min-width: 0;
}
.wh-faq__list {
  min-width: 0;
  overflow: visible;
}
.wh-faq__sidebar-title {
  font-size: clamp(var(--ww-text-2xl), 3vw, var(--ww-text-4xl));
  font-weight: 800;
  color: var(--ww-text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0 0 16px;
  padding: 0;
  word-break: keep-all;
}
.wh-faq__sidebar-lead {
  font-size: var(--ww-text-base);
  color: var(--ww-text-sub);
  line-height: 1.7;
  margin: 0 0 28px;
  padding: 0;
  word-break: keep-all;
}

/* ── FAQ 목록 ── */
.wh-faq__list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ── FAQ 아이템 카드 ── */
.wh-faq-item {
  background: var(--ww-surface);
  border: 1.5px solid var(--ww-border-light);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wh-faq-item:hover {
  border-color: rgba(16, 87, 245, 0.22);
  box-shadow: 0 4px 18px rgba(16, 87, 245, 0.07);
  transform: translateY(-1px);
}
.wh-faq-item.is-open {
  border-color: rgba(16, 87, 245, 0.28);
  box-shadow:
    0 6px 28px rgba(16, 87, 245, 0.1),
    inset 3px 0 0 var(--ww-primary);
  transform: none;
}

/* ── 질문 버튼 ── */
.wh-faq-item__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ww-text);
  font-family: inherit;
  font-size: var(--ww-text-base);
  font-weight: 600;
  user-select: none;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* ── Q 번호 배지 ── */
.wh-faq-item__q-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ww-bg-soft);
  color: var(--ww-primary);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}
.wh-faq-item.is-open .wh-faq-item__q-badge {
  background: linear-gradient(135deg, var(--ww-primary) 0%, var(--ww-secondary) 100%);
  color: #fff;
}

/* ── 질문 텍스트 ── */
.wh-faq-item__q-text {
  flex: 1;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

/* ── 화살표 아이콘 ── */
.wh-faq-item__q-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid var(--ww-border-light);
  color: var(--ww-text-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}
.wh-faq-item:hover .wh-faq-item__q-icon {
  border-color: rgba(16, 87, 245, 0.3);
  color: var(--ww-primary);
}
.wh-faq-item.is-open .wh-faq-item__q-icon {
  background: var(--ww-primary);
  border-color: var(--ww-primary);
  color: #fff;
  transform: rotate(180deg);
}

/* ── 답변 패널 ── */
.wh-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
}
.wh-faq-item.is-open .wh-faq-item__a {
  max-height: 480px;
  opacity: 1;
}
.wh-faq-item__a-inner {
  padding: 2px 22px 22px calc(22px + 34px + 14px); /* 왼쪽 = Q배지 너비 + gap 맞춤 */
  border-top: 1px solid var(--ww-border-light);
}
.wh-faq-item__a-inner p {
  font-size: var(--ww-text-sm);
  color: var(--ww-text-sub);
  line-height: 1.85;
  word-break: keep-all;
  margin: 0;
  padding: 0;
}

/* ── 반응형 ── */
@media (max-width: 860px) {
  .wh-faq__layout { grid-template-columns: 1fr; }
  .wh-faq__sidebar { position: static; }
  .wh-faq-item__a-inner {
    padding: 2px 18px 18px 18px;
  }
}

/* ── 다크모드 ── */
[data-theme="dark"] .wh-faq {
  background: var(--ww-bg-alt);
}
[data-theme="dark"] .wh-faq-item {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-faq-item:hover {
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .wh-faq-item.is-open {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.3),
    inset 3px 0 0 var(--ww-primary);
}
[data-theme="dark"] .wh-faq-item__q-badge {
  background: rgba(16, 87, 245, 0.15);
}
[data-theme="dark"] .wh-faq-item__q-icon {
  border-color: var(--ww-border);
}
[data-theme="dark"] .wh-faq-item__a-inner {
  border-top-color: var(--ww-border);
}

/* ================================================================
   § 9. CTA SECTION
   ================================================================ */
.wh-cta {
  background: var(--ww-grad-primary);
  position: relative;
  overflow: hidden;
}
.wh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wh-cta__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.wh-cta__orb--1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.1);
  top: -100px; right: 10%;
}
.wh-cta__orb--2 {
  width: 300px; height: 300px;
  background: rgba(124,58,237,.3);
  bottom: -80px; left: 5%;
}
.wh-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(80px, 10vw, 120px);
}
.wh-cta__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-xs);
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.wh-cta__title {
  font-size: clamp(var(--ww-text-3xl), 5vw, var(--ww-text-6xl));
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 20px;
  padding: 0;
  word-break: keep-all;
}
.wh-cta__lead {
  font-size: clamp(var(--ww-text-base), 2vw, var(--ww-text-xl));
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin: 0 0 40px;
  padding: 0;
  word-break: keep-all;
}
.wh-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.wh-cta__btn-white {
  background: #fff;
  color: var(--ww-primary);
  padding: 16px 36px;
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-base);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--ww-duration-base) var(--ww-ease-back);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.wh-cta__btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.wh-cta__btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: 14px 32px;
  border-radius: var(--ww-r-full);
  font-size: var(--ww-text-base);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--ww-duration-base) var(--ww-ease);
}
.wh-cta__btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

/* ================================================================
   § 다크모드 토글 버튼
   ================================================================ */
.ww-darkmode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--ww-border-medium);
  background: var(--ww-bg-alt);
  color: var(--ww-text-sub);
  cursor: pointer;
  transition: all var(--ww-duration-base) var(--ww-ease-back);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.ww-darkmode-btn:hover {
  border-color: var(--ww-primary);
  color: var(--ww-primary);
  transform: rotate(12deg);
}
.ww-dm-icon-sun,
.ww-dm-icon-moon {
  position: absolute;
  font-size: 1rem;
  transition: all .3s var(--ww-ease-back);
}
.ww-dm-icon-moon { opacity: 1; transform: scale(1); }
.ww-dm-icon-sun  { opacity: 0; transform: scale(.3) rotate(90deg); }
[data-theme="dark"] .ww-dm-icon-moon { opacity: 0; transform: scale(.3) rotate(-90deg); }
[data-theme="dark"] .ww-dm-icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="dark"] .ww-darkmode-btn {
  background: var(--ww-surface);
  border-color: var(--ww-border);
  color: var(--ww-text-sub);
}
.ww-darkmode-btn--mobile { display: none; }
@media (max-width: 860px) {
  .ww-darkmode-btn--mobile { display: inline-flex !important; }
}

/* ================================================================
   § 디자인 개선 — 섹션 헤더 키커 강조 언더라인
   ================================================================ */
.ww-sec-kicker {
  position: relative;
  display: inline-block;
}
.ww-sec-kicker::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--ww-primary);
  border-radius: 2px;
  opacity: 0.5;
}

/* ================================================================
   § 디자인 개선 — 홈 섹션 구분선 그라디언트
   ================================================================ */
.wh-services,
.wh-portfolio,
.wh-why,
.wh-process,
.wh-reviews,
.wh-faq {
  border-top: 1px solid var(--ww-border-light, rgba(0,0,0,.05));
}

/* ================================================================
   § 디자인 개선 — FAB 첫 로드 트랜지션
   ================================================================ */
.ft-quick-fab-link,
.qconsult-fab {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}
.ft-quick-fab-link:hover,
.qconsult-fab:hover {
  transform: scale(1.08) !important;
}

/* ================================================================
   § 다크모드 개선 — 게시판 table
   ================================================================ */
[data-theme="dark"] .board-list-table {
  background: var(--ww-surface);
  border-color: var(--ww-border);
}
[data-theme="dark"] .board-list-table th,
[data-theme="dark"] .board-list-table td {
  border-bottom-color: var(--ww-border);
}
[data-theme="dark"] .board-list-table th {
  background: var(--ww-bg-alt);
  color: var(--ww-text-sub);
}
[data-theme="dark"] .board-list-table tbody tr:hover {
  background: rgba(16, 87, 245, .06);
}
[data-theme="dark"] .post-link {
  color: var(--ww-text);
}
[data-theme="dark"] .post-link:hover {
  color: var(--ww-accent, #06b6d4);
}
