/* ============================================================
   BOOM MEDIA ASIA - Enterprise Website
   Color: White BG + Black Text + Red Accent (#9b59b6)
   ============================================================ */

/* === CSS Variables === */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-card: #f5f5f5;
  --bg-card-hover: #eeeeee;
  --purple: #9b59b6;
  --purple-light: #c39bd3;
  --purple-dark: #8e44ad;
  --accent: #9b59b6;
  --accent-light: #c39bd3;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #888888;
  --border: #eeeeee;
  --border-light: #e8e8e8;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 32px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1280px;
  --header-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === Header / Navigation (Dark) === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #333;
  display: flex; align-items: center;
}
.header-inner {
  width: 100%; max-width: var(--max-width); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; gap: 8px;
}
.header-logo-img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: #ccc; padding: 8px 14px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500; transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--purple); background: rgba(155,89,182,0.1); }
.lang-switch {
  display: flex; gap: 2px; background: #1a1a1a; border-radius: 6px;
  padding: 3px; margin-left: 12px;
}
.lang-switch button {
  background: none; border: none; color: #999;
  padding: 6px 10px; border-radius: 4px; cursor: pointer;
  font-size: 0.75rem; font-weight: 600; transition: var(--transition);
}
.lang-switch button.active { background: var(--purple); color: #fff; }
.lang-switch button:hover:not(.active) { color: #fff; }
.mobile-menu-btn {
  display: none; background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
}

/* === Section Common === */
.section {
  padding: 100px 24px;
}
/* .section:nth-child(even) — disabled in favor of per-section backgrounds */
.section-inner {
  max-width: var(--max-width); margin: 0 auto;
}
.section-label {
  display: inline-block;
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.75rem;
  font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 16px;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary); font-size: 1.1rem; max-width: 700px;
  margin-bottom: 48px; line-height: 1.8;
}

/* === Hero (Dark background) === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--header-height);
  background: #060606;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/slide_01_img2.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.6) 0%, rgba(6,6,6,0.9) 70%, #060606 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.05;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 24px; text-align: center;
}
.hero-badge {
  display: inline-block; padding: 6px 20px;
  border: 1px solid var(--purple); border-radius: 50px;
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2px; margin-bottom: 32px;
}
.hero-title {
  font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 24px;
  color: #ffffff;
}
.hero-title .red {
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: #bbbbbb; max-width: 680px;
  margin: 0 auto 48px; line-height: 1.8;
}
.hero-cta {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  color: #fff; box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,0.5); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4); color: #ffffff;
  background: transparent;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); background: rgba(155,89,182,0.1); }

/* === Stats Row (hero area) === */
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 80px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.8rem; font-weight: 900;
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 8px;
}
.stat-number .unit { font-size: 1.2rem; font-weight: 600; }
.stat-label {
  color: #999999; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 1px;
}

/* === About / Timeline === */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-text p { color: var(--text-secondary); margin-bottom: 16px; }
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.highlight-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: var(--transition);
}
.highlight-card:hover { border-color: var(--purple); }
.highlight-card .hl-icon { font-size: 1.5rem; color: var(--purple); margin-bottom: 8px; }
.highlight-card .hl-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.highlight-card .hl-desc { color: var(--text-muted); font-size: 0.8rem; }

/* Group logo in about */
.about-group-logo {
  margin-top: 32px; padding: 32px 24px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center;
}
.about-group-logo img { max-width: 300px; height: auto; margin: 0 auto 16px; }
.about-group-logo p { color: var(--text-muted); font-size: 0.8rem; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--purple), #ccc);
}
.timeline-item { position: relative; margin-bottom: 32px; padding-left: 24px; }
.timeline-item::before {
  content: ''; position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--purple); border: 2px solid var(--bg-primary);
}
.timeline-year {
  color: var(--purple); font-weight: 800; font-size: 0.85rem; letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.timeline-desc { color: var(--text-muted); font-size: 0.85rem; }

/* === Capabilities === */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cap-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid var(--border); transition: var(--transition); text-align: center;
}
.cap-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.cap-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cap-title { font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.cap-desc { color: var(--text-muted); font-size: 0.9rem; }

/* Process Flow */
.process-flow {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin: 48px 0; flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 140px; text-align: center;
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 28px 16px; border: 1px solid var(--border);
  position: relative; transition: var(--transition);
}
.process-step:hover { border-color: var(--purple); }
.process-step .step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #9b59b6, #8b5cf6); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 0.9rem;
}
.process-step .step-arrow {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  color: var(--purple); font-size: 1.2rem;
}
.process-step:last-child .step-arrow { display: none; }
.process-step .step-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.process-step .step-desc { color: var(--text-muted); font-size: 0.75rem; }

/* === Process / Adv labels === */
.section-subtitle {
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2rem; margin: 60px 0 24px;
  font-weight: 700; text-align: center;
}

/* === Advantages === */
.adv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.adv-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border); transition: var(--transition);
  display: flex; gap: 20px; align-items: flex-start;
}
.adv-card:hover { border-color: var(--purple); }
.adv-num {
  font-size: 2.5rem; font-weight: 900;
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; min-width: 50px;
}
.adv-body h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-primary); }
.adv-body p { color: var(--text-muted); font-size: 0.9rem; }

/* === Strength / Base === */
.strength-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.strength-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.strength-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.strength-img { width: 100%; height: 200px; object-fit: cover; background: #e0e0e0; }
.strength-body { padding: 24px; }
.strength-body h4 { margin-bottom: 8px; }
.strength-body p { color: var(--text-muted); font-size: 0.85rem; }

/* === Talent Section (Hierarchical Layout) === */
.talent-layout {
  display: flex; gap: 24px; align-items: flex-start;
}
.talent-featured { flex: 0 0 auto; }
.talent-grid {
  flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px;
}

/* Featured Talent Card (Doug Marcaida) */
.talent-featured-card {
  background: transparent; border: none; text-align: center;
}
.talent-featured-avatar {
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
  margin: 0 auto; background: #e0e0e0;
}
.talent-featured-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.talent-featured-info { padding: 10px 0 0; text-align: center; }
.talent-featured-title {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: var(--purple); margin-bottom: 6px;
}
.talent-featured-name { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.talent-featured-followers {
  font-size: 1.05rem; font-weight: 700; color: var(--purple); margin-bottom: 10px;
}
.talent-featured-desc {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5;
}

/* Standard Talent Card */
.talent-card {
  background: transparent; border: none; text-align: center; padding-bottom: 0;
}
.talent-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top center;
  background: #e0e0e0; margin: 0 auto;
}
.talent-name { font-weight: 700; margin-top: 5px; font-size: 0.72rem; color: var(--text-primary); }
.talent-followers { color: var(--purple); font-size: 0.68rem; font-weight: 600; }

/* More talents note below grid */
.talent-more {
  text-align: center; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.talent-more p {
  color: var(--text-muted); font-size: 0.85rem; line-height: 1.6;
}

/* === Clients Section === */
.clients-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px;
  align-items: center; justify-items: center;
}
.client-logo-item {
  background: transparent; border-radius: var(--radius);
  padding: 16px; border: none;
  transition: var(--transition); width: 100%; display: flex;
  align-items: center; justify-content: center;
  aspect-ratio: 3/2; overflow: hidden;
}
.client-logo-item:hover { border-color: var(--purple); transform: scale(1.05); }
.client-logo-item img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
}
.clients-stats-banner {
  text-align: center; margin-bottom: 40px;
}
.clients-stats-banner h3 {
  font-size: 1.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px;
}
.clients-stats-banner h3 span {
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.clients-stats-banner p {
  color: var(--text-secondary); font-size: 1rem;
}

/* === Case Studies === */
.case-filters {
  display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; justify-content: center;
}
.case-filter {
  padding: 8px 24px; border-radius: 50px; cursor: pointer;
  border: 1px solid var(--border); background: #fff;
  color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
}
.case-filter.active {
  background: var(--purple); color: #fff; border-color: var(--purple);
}
.case-filter:hover {
  background: var(--purple); color: #fff; border-color: var(--purple);
}
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: none; transition: var(--transition); cursor: pointer;
}
.case-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.case-card .case-img {
  width: 100%; height: 180px; overflow: hidden;
  background: #e0e0e0; display: flex; align-items: center; justify-content: center;
}
.case-card .case-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.case-card .case-img-placeholder {
  color: var(--purple); font-size: 1.2rem; font-weight: 700;
}
.case-body { padding: 20px; }
.case-tag {
  display: inline-block; padding: 2px 10px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px;
}
.case-tag.tourism {
  background: rgba(155,89,182,0.1);
  color: var(--purple);
  background: linear-gradient(135deg, #9b59b6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-tag.brand { background: #e8e8e8; color: var(--text-secondary); }
.case-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.case-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.case-stat { font-size: 0.75rem; color: var(--purple); font-weight: 600; }
.case-desc { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }
.case-view-more {
  display: inline-block; margin-top: 8px; font-size: 0.78rem;
  color: var(--purple); font-weight: 600;
}

/* === Case Modal (Redesigned) === */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: 16px; width: 92%; max-width: 960px;
  max-height: 92vh; overflow-y: auto; position: relative;
  animation: slideUp 0.4s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 20;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.3); border: none;
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--purple); }

/* Carousel */
.modal-carousel {
  position: relative; width: 100%; border-radius: 16px 16px 0 0;
  overflow: hidden; background: #0a0a0a;
  min-height: 320px; max-height: 500px;
}
.modal-carousel-track {
  display: flex; transition: transform 0.4s ease; height: 100%;
}
.modal-carousel-slide {
  min-width: 100%; display: flex; align-items: center; justify-content: center;
}
.modal-carousel-slide img {
  width: 100%; height: 100%; object-fit: contain;
  max-height: 500px;
}
.modal-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 15;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-carousel-arrow:hover { background: var(--purple); border-color: var(--purple); }
.modal-carousel-arrow.prev { left: 12px; }
.modal-carousel-arrow.next { right: 12px; }
.modal-carousel-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.modal-carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 15;
}
.modal-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0;
  transition: var(--transition);
}
.modal-carousel-dot.active { background: var(--purple); width: 24px; border-radius: 4px; }

/* Modal Body */
.modal-body { padding: 32px 40px 40px; }
.modal-body .case-tag { margin-bottom: 8px; font-size: 0.72rem; }
.modal-body h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); }
.modal-data-grid {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.modal-data-item {
  background: rgba(155,89,182,0.04); border: 1px solid rgba(155,89,182,0.12);
  border-radius: 10px; padding: 10px 18px; text-align: center; min-width: 90px;
}
.modal-data-item .md-value { font-size: 1.1rem; font-weight: 800; color: var(--purple); }
.modal-data-item .md-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.modal-highlight {
  background: var(--bg-secondary); border-left: 3px solid var(--purple);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  margin-bottom: 12px;
}
.modal-highlight h4 { font-size: 0.85rem; font-weight: 700; color: var(--purple); margin-bottom: 6px; }
.modal-highlight p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.modal-case-counter {
  text-align: center; color: var(--text-muted); font-size: 0.75rem;
  margin-top: 8px;
}

/* Full nav overlay (case switch) */
.modal-case-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 18;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: #fff; border: none; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-case-nav:hover { background: var(--purple); }
.modal-case-nav.prev { left: -20px; }
.modal-case-nav.next { right: -20px; }
.modal-case-nav:disabled { opacity: 0.25; cursor: default; }
@media (max-width: 1040px) {
  .modal-case-nav.prev { left: 4px; }
  .modal-case-nav.next { right: 4px; }
}

@media (max-width: 768px) {
  .modal { width: 96%; max-height: 95vh; }
  .modal-carousel { min-height: 220px; max-height: 320px; }
  .modal-carousel-slide img { max-height: 320px; }
  .modal-body { padding: 24px 20px 28px; }
  .modal-body h2 { font-size: 1.25rem; }
}

/* === Contact === */
.contact {
  text-align: center;
  background: #000000;
}
.contact .section-title { font-size: 3rem; }
.contact .section-desc { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.contact-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 24px;
  border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.contact-card:hover { border-color: var(--purple); }
.contact-icon { font-size: 2rem; margin-bottom: 12px; color: var(--purple); }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.contact-emails {
  margin-top: 32px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.contact-email-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 32px; text-align: left;
  transition: var(--transition); min-width: 280px;
}
.contact-email-item:hover { border-color: var(--purple); }
.contact-email-label {
  font-size: 0.75rem; font-weight: 700; color: var(--purple); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 6px;
}
.contact-email-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.contact-email-addr { color: var(--text-secondary); font-size: 0.9rem; word-break: break-all; }

/* === Footer (Dark) === */
.footer {
  background: #111111; border-top: 1px solid #333;
  padding: 48px 24px 24px; text-align: center; color: #ccc;
}
.footer-logo { font-size: 1.3rem; font-weight: 700; color: var(--purple); margin-bottom: 12px; }
.footer-links { display: flex; justify-content: center; gap: 32px; margin: 16px 0; flex-wrap: wrap; }
.footer-links a { color: #999; font-size: 0.85rem; }
.footer-links a:hover { color: var(--purple); }
.footer-copy { color: #777; font-size: 0.78rem; margin-top: 24px; }
.footer-emails {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin: 12px 0; font-size: 0.82rem; color: #999;
}
.footer-emails span { color: var(--purple); font-weight: 600; }
.footer-group-logo { margin: 20px auto 0; max-height: 50px; opacity: 0.7; }

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.count-up { animation: countUp 0.8s ease forwards; }

/* === Responsive === */

/* ---------- 1024px Tablet Landscape ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .section { padding: 80px 24px; }
  .hero-inner { padding: 64px 24px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .talent-layout { flex-direction: column; gap: 16px; }
  .talent-featured { flex: 0 0 auto; }
  .talent-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .process-step .step-arrow { display: none; }
}

/* ---------- 768px Tablet Portrait ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-height); left: 0; right: 0;
    background: #111; padding: 16px;
    border-bottom: 1px solid #333; gap: 4px;
  }
  .mobile-menu-btn { display: block; }

  /* --- Spacing --- */
  .section { padding: 60px 18px; }
  .hero-inner { padding: 44px 18px; }

  /* --- Hero --- */
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 28px; line-height: 1.7; }
  .hero-badge { font-size: 0.72rem; margin-bottom: 20px; padding: 5px 16px; }
  .hero-cta { gap: 10px; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }

  /* --- Common --- */
  .section-title { font-size: 1.5rem; margin-bottom: 12px; }
  .section-desc { font-size: 0.95rem; margin-bottom: 32px; }

  /* --- Stats --- */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
  .stat-number { font-size: 1.7rem; }
  .stat-number .unit { font-size: 0.95rem; }
  .stat-label { font-size: 0.75rem; }

  /* --- About --- */
  .about-grid { gap: 32px; }
  .about-highlights { grid-template-columns: 1fr; gap: 12px; }
  .about-group-logo { padding: 20px 14px; margin-top: 24px; }
  .about-group-logo img { max-width: 220px; }

  /* --- Capabilities --- */
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { padding: 28px 20px; }

  /* --- Process --- */
  .process-flow { flex-direction: column; }
  .process-step { padding: 20px 12px; min-width: 100%; }
  .process-step .step-arrow { display: none; }
  .section-subtitle { font-size: 1.05rem; margin: 40px 0 18px; }

  /* --- Advantages --- */
  .adv-card { padding: 24px; }

  /* --- Talent --- */
  .talent-layout { gap: 12px; }
  .talent-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .talent-featured-avatar { width: 140px; height: 140px; }
  .talent-avatar { width: 60px; height: 60px; }
  .talent-name { font-size: 0.68rem; }
  .talent-more { margin-top: 14px; padding-top: 12px; }

  /* --- Cases --- */
  .case-grid { grid-template-columns: 1fr; }
  .case-filters { gap: 8px; }
  .case-filter { padding: 6px 16px; font-size: 0.82rem; }
  .case-body { padding: 16px; }

  /* --- Clients --- */
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .client-logo-item { padding: 12px; }

  /* --- Contact --- */
  .contact-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .contact-card { padding: 24px; }
  .contact-email-item { min-width: 200px; padding: 14px 18px; }
  .contact-emails { gap: 14px; }
  .contact .section-title { font-size: 2rem; }

  /* --- Footer --- */
  .footer { padding: 36px 18px 20px; }
  .footer-links { gap: 18px; }
  .footer-group-logo { max-width: 150px; }

  /* --- Modal --- */
  .modal-content { padding: 24px; }
  .modal-header h2 { font-size: 1.5rem; }
}

/* ---------- 480px Phone ---------- */
@media (max-width: 480px) {
  /* --- Spacing --- */
  .section { padding: 48px 12px; }
  .hero-inner { padding: 32px 12px; }

  /* --- Hero --- */
  .hero-title { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.8rem; margin-bottom: 22px; line-height: 1.6; }
  .hero-badge { font-size: 0.65rem; padding: 4px 12px; margin-bottom: 14px; letter-spacing: 1.5px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 8px; }
  .hero-cta .btn { width: 100%; max-width: 260px; }
  .btn { padding: 10px 20px; font-size: 0.82rem; }

  /* --- Common --- */
  .section-title { font-size: 1.3rem; margin-bottom: 10px; }
  .section-desc { font-size: 0.85rem; margin-bottom: 24px; }
  .section-label { font-size: 0.68rem; letter-spacing: 2px; margin-bottom: 8px; }

  /* --- Stats --- */
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .stat-number { font-size: 1.35rem; }
  .stat-number .unit { font-size: 0.8rem; }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.5px; }

  /* --- About --- */
  .about-grid { gap: 24px; }
  .about-highlights { grid-template-columns: 1fr; gap: 8px; }
  .highlight-card { padding: 14px; }
  .about-group-logo { padding: 14px 8px; margin-top: 16px; }
  .about-group-logo img { max-width: 100%; }
  .about-group-logo p { font-size: 0.72rem; }
  .timeline { padding-left: 24px; }
  .timeline-item { padding-left: 16px; margin-bottom: 20px; }
  .timeline-item::before { left: -29px; width: 10px; height: 10px; }

  /* --- Capabilities --- */
  .cap-card { padding: 20px 14px; }
  .cap-icon { font-size: 2rem; margin-bottom: 10px; }
  .cap-title { font-size: 1rem; margin-bottom: 8px; }
  .cap-desc { font-size: 0.8rem; }

  /* --- Process --- */
  .process-flow { gap: 10px; }
  .process-step { padding: 16px 10px; }
  .section-subtitle { font-size: 0.95rem; margin: 32px 0 14px; }

  /* --- Advantages --- */
  .adv-card { padding: 18px; flex-direction: column; gap: 10px; }
  .adv-num { font-size: 1.8rem; min-width: auto; }
  .adv-body h4 { font-size: 0.95rem; }
  .adv-body p { font-size: 0.8rem; }

  /* --- Strength --- */
  .strength-img { height: 150px; }
  .strength-body { padding: 16px; }
  .strength-body h4 { font-size: 0.95rem; }
  .strength-body p { font-size: 0.78rem; }

  /* --- Talent --- */
  .talent-layout { gap: 8px; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .talent-featured-avatar { width: 100px; height: 100px; }
  .talent-featured-name { font-size: 0.95rem; }
  .talent-featured-followers { font-size: 0.85rem; }
  .talent-featured-desc { font-size: 0.75rem; }
  .talent-featured-info { padding: 6px 0 0; }
  .talent-avatar { width: 50px; height: 50px; }
  .talent-name { font-size: 0.63rem; margin-top: 3px; }
  .talent-followers { font-size: 0.58rem; }
  .talent-more { margin-top: 10px; padding-top: 10px; }
  .talent-more p { font-size: 0.75rem; }

  /* --- Cases --- */
  .case-filters { gap: 6px; }
  .case-filter { padding: 5px 12px; font-size: 0.72rem; }
  .case-grid { gap: 14px; }
  .case-body { padding: 12px; }
  .case-title { font-size: 0.92rem; }
  .case-desc { font-size: 0.75rem; }
  .case-tag { font-size: 0.62rem; }

  /* --- Clients --- */
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .client-logo-item { padding: 8px; }
  .clients-stats-banner h3 { font-size: 1.3rem; }

  /* --- Contact --- */
  .contact-grid { gap: 10px; margin-top: 24px; }
  .contact-card { padding: 18px 14px; }
  .contact-card h4 { font-size: 0.95rem; }
  .contact-card p { font-size: 0.78rem; }
  .contact-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .contact-email-item { min-width: 0; width: 100%; padding: 12px 14px; }
  .contact-emails { flex-direction: column; gap: 8px; }
  .contact-email-name { font-size: 0.9rem; }
  .contact-email-addr { font-size: 0.78rem; }
  .contact .section-title { font-size: 1.7rem; }

  /* --- Footer --- */
  .footer { padding: 28px 12px 16px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 0.75rem; }
  .footer-emails { flex-direction: column; gap: 6px; font-size: 0.73rem; }
  .footer-group-logo { max-width: 120px; }
  .footer-copy { font-size: 0.68rem; margin-top: 14px; }

  /* --- Modal --- */
  .modal-body { padding: 16px 14px 20px; }
  .modal-body h2 { font-size: 1.1rem; }
  .modal-data-grid { gap: 8px; }
  .modal-data-item { padding: 8px 12px; min-width: 72px; }
  .modal-data-item .md-value { font-size: 0.9rem; }
}

/* === Contact Section (Dark) === */
#contact {
  background: #000000;
}
#contact .section-label,
#contact .section-title,
#contact .section-desc,
#contact .contact-card h4,
#contact .contact-card p,
#contact .contact-email-name,
#contact .contact-email-addr,
#contact .contact-email-label {
  color: #ffffff;
}
#contact .section-desc {
  color: #cccccc;
}
#contact .contact-card {
  background: #1a1a1a;
  border-color: #333;
}
#contact .contact-card:hover {
  border-color: var(--purple);
}
#contact .contact-email-item {
  background: #1a1a1a;
  border-color: #333;
}
#contact .contact-email-item:hover {
  border-color: var(--purple);
}
#contact .contact-email-addr {
  color: #aaaaaa;
}
#contact .contact-icon {
  color: var(--purple);
}
#contact .contact-email-label {
  color: var(--purple);
}

/* ============================================================
   SECTION BACKGROUNDS — Subtle Gradient Rhythm
   ============================================================ */

/* About: Light purple → white */
#about {
  background: linear-gradient(180deg, #f8f0fa 0%, #ffffff 100%);
}

/* Advantages: Soft purple-tinged warmth */
#advantages {
  background: linear-gradient(180deg, #faf8fc 0%, #f5f0f8 100%);
}

/* Talent: Light purple-white gradient */
#talent {
  background: linear-gradient(180deg, #f5f0fa 0%, #ffffff 100%);
}

/* Cases: Subtle gray → white */
#cases {
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

/* Clients: White → ultra-light purple */
#clients {
  background: linear-gradient(180deg, #ffffff 0%, #faf7fc 100%);
}
#clients .section-desc,
#cases .section-desc {
  color: #444444;
}

/* ============================================================
   TALENT SECTION — Light mode (text inherits defaults)
   ============================================================ */

/* Talent section: all text returns to default dark colors */
/* Avatar fallback: light background */
#talent .talent-avatar {
  background: #e0e0e0;
}
#talent .talent-featured-avatar {
  background: #e0e0e0;
}
#talent .talent-more {
  border-top-color: var(--border-light);
}
#talent .talent-more p {
  color: var(--text-muted);
}

/* About highlight cards in light-purple section */
#about .highlight-card {
  background: #ffffff;
}
#about .about-group-logo {
  background: #ffffff;
}

/* Advantages cards on tinted bg */
#advantages .adv-card {
  background: #ffffff;
}
#advantages .process-step {
  background: #ffffff;
}
