/* ===================================
   홈페이지 전용 스타일
   =================================== */

/* ── Hero Section ─────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* ══════════════════════════════════════════
   hero-bg: 시카고 야경 실사 이미지
   ══════════════════════════════════════════ */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #020b1e;
  background-image: url('../images/hero-chicago.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  animation: heroBgZoom 9s ease-out forwards;
}

/* CSS-only 빌딩 레이어 제거 — 실제 사진으로 대체 */

/* ── 딥블루 오버레이 (브랜드 컬러 유지) ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(160deg,
      rgba(10,25,70,0.65) 0%,
      rgba(18,48,115,0.30) 50%,
      rgba(8,16,48,0.58) 100%
    );
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

@keyframes heroBgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-top: 80px;
  padding-bottom: 120px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 24px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: 72px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 28px;
  font-weight: 500;
  color: #E8E8E8;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 32px;
  width: fit-content;
  flex-wrap: wrap;
  row-gap: 16px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat-num {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}
/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
  margin-top: -8px;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ── Quick Bar ────────────────────── */
.quick-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 72px;
  z-index: 100;
}
.quick-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 0;
  flex-wrap: wrap;
  row-gap: 12px;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  flex: 1;
  min-width: 180px;
}
.quick-item > i {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.quick-item > div { display: flex; flex-direction: column; }
.quick-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.quick-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
a.quick-val { color: var(--primary); }
a.quick-val:hover { color: var(--accent); }
.quick-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Services ─────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--primary);
}
.service-card.featured {
  background: linear-gradient(160deg, #f0f5ff 0%, #fff 100%);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(30,81,150,0.15);
}
.service-card.featured::before { transform: scaleX(1); }
.service-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}
.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-flex;
  width: 80px;
  height: 80px;
  background: rgba(30,81,150,0.1);
  border-radius: 20px;
  align-items: center;
  justify-content: center;
}
.service-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}
.service-features li i {
  color: var(--success);
  font-size: 12px;
  flex-shrink: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--primary); }

/* ── Cases ────────────────────────── */
.bg-light { background: var(--bg-light); }
.bg-blue { background: var(--bg-blue); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02) translateY(-3px);
}
.case-images { padding: 12px; }
.case-img-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.case-img {
  flex: 1;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 3/2;
}
.case-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  gap: 4px;
  padding: 8px;
}
.img-label {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 1;
}
.img-label.before { background: rgba(0,0,0,0.5); color: #fff; }
.img-label.after { background: var(--success); color: #fff; }
.case-divider {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.case-body { padding: 12px 16px 16px; }
.case-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.case-meta { margin-bottom: 10px; }
.case-revenue {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 10px;
  padding: 8px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}
.revenue-badge { color: var(--success); font-weight: 600; }
.revenue-badge strong, .case-revenue strong { color: var(--success); }
.case-points {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-points li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-mid);
}
.case-points li i { color: var(--success); font-size: 10px; }
.mt-48 { margin-top: 48px; }

/* ── Expert ───────────────────────── */
.expert-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
}
.expert-img-box {
  position: relative;
  background: linear-gradient(160deg, #e8f0fd 0%, #d0e2f8 100%);
  border-radius: 20px;
  overflow: visible;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px rgba(30,81,150,0.18);
}
.expert-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
  transition: transform 0.5s ease;
}
.expert-real-photo:hover { transform: scale(1.02); }
.expert-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.expert-emoji { font-size: 80px; }
.expert-badge-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 28px;
}

/* ── 표창장 배지 (작은 원형) ── */
.expert-badge-float.award-photo-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d4af37;
  box-shadow:
    0 0 0 2px rgba(212,175,55,0.35),
    0 6px 18px rgba(0,0,0,0.22);
  background: #f8f0d0;
  padding: 0;
  z-index: 10;
  display: block;
}

.expert-badge-float div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.expert-badge-float strong { font-size: 13px; color: var(--text-dark); }
.expert-badge-float span { font-size: 12px; color: var(--text-light); }
.expert-position {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.expert-intro {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}
.expert-career {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.expert-career li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}
.expert-career li i { color: var(--success); font-size: 14px; flex-shrink: 0; }
.expert-values {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.expert-value {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex: 1;
  min-width: 140px;
}
.value-icon { font-size: 24px; flex-shrink: 0; }
.expert-value strong { font-size: 14px; color: var(--text-dark); display: block; }
.expert-value p { font-size: 12px; color: var(--text-light); margin: 0; }

/* ── Process ──────────────────────── */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 24px;
}
.process-step {
  background: var(--white);
  border: 2px solid var(--step-color);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  width: 260px;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-num);
}
.step-icon { font-size: 40px; margin-bottom: 12px; }
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.step-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.step-list li {
  font-size: 12px;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}
.step-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--step-color);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.process-arrow {
  font-size: 28px;
  color: var(--text-light);
  align-self: center;
  padding: 0 8px;
  flex-shrink: 0;
  margin-top: -20px;
}

/* ── Why ──────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(30,81,150,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.why-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.why-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.t-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 12px;
}
.t-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.t-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}
.t-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* ── CTA Section ──────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.cta-title {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 48px;
  position: relative;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}
.cta-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
}
.cta-info-item i { font-size: 18px; color: rgba(255,255,255,0.8); }

/* ── SNS / Social ─────────────────── */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}
.social-link:hover { transform: translateY(-2px); opacity: 0.9; }
.social-link.blog { background: #03C75A; }
.social-link.youtube { background: #FF0000; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.kakao { background: #FEE500; color: #3C1E1E; }

/* ── 반응형 ────────────────────────── */
@media (max-width: 1024px) {
  .hero-title { font-size: 56px; }
  .expert-grid { grid-template-columns: 320px 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 20px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { padding: 16px 20px; }
  .hero-stat { padding: 0 16px; }
  .stat-num { font-size: 24px; }
  .expert-grid { grid-template-columns: 1fr; gap: 32px; }
  .expert-img-box { max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 32px; }
  .quick-bar-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .quick-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 16px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-cta { flex-direction: column; }
  .hero-stats { width: 100%; justify-content: center; padding: 14px 12px; }
  .hero-stat { padding: 0 10px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .hero-stat-divider { height: 28px; }
  .cases-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 26px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .city-moon { width: 36px; height: 36px; top: 5%; right: 7%; }
}
