/* ======================================
   MOBVOI MARKETING — mobvoi-marketing.css
   Background: #FFFFFF
   ====================================== */

/* ── Page base ── */
.mkm-page {
  background: white;
  color: #1a1a1a;
}

/* ── Header: black by default, white over dark hero ── */
.mkm-page .logo img { filter: invert(1); transition: filter 0.45s ease; }
.mkm-page .nav a { color: #1a1a1a; }
.mkm-page .nav a:hover { background-size: 100% 1px; }
.mkm-page .nav a.active { font-weight: 700; }
/* Inverted: white over dark hero */
.mkm-page .header--inverted .logo img { filter: invert(0); }
.mkm-page .header--inverted .nav a   { color: #ffffff; }
.mkm-page .header--inverted .nav a:hover { background-size: 100% 1px; }

/* ── Carousel: white background ── */
.mkm-page .more-section {
  background: white;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 100px;
}
.mkm-page .more-heading { color: #6b6b6b; }

/* ══════════════════════════════════════
   ① HERO
   ══════════════════════════════════════ */
.mkm-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  overflow: hidden;
  display: flex;
}
.mkm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════ */
.mkm-section {
  background: white;
  padding: 0 120px;
  margin-top: 150px;
}

.mkm-section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 20px;
  line-height: 1.2;
}

.mkm-body {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.75;
  color: #444444;
  margin: 0 0 14px;
}
.mkm-body:last-child { margin-bottom: 0; }

.mkm-body--sub {
  margin-bottom: 32px;
}

/* ══════════════════════════════════════
   ② MARKETING CREATIVITY
   ══════════════════════════════════════ */
.mkm-creativity-section {
  padding-bottom: 0;
}

/* ── Process Flow Diagram ── */
.mkm-flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.mkm-flow-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mkm-flow-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.mkm-flow-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mkm-flow-card {
  border: 1px solid #bbcedd;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 108px;
  max-width: 108px;
  min-height: 60px;
  justify-content: center;
  flex-shrink: 0;
}
.mkm-flow-card strong {
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  line-height: 1.3;
}
.mkm-flow-card span {
  font-family: var(--font-text);
  font-size: 8px;
  color: rgba(0,0,0,0.55);
  line-height: 1.4;
}

/* Tall entry card (left side) */
.mkm-flow-card--tall {
  min-width: 72px;
  max-width: 72px;
  min-height: 200px;
  justify-content: center;
  gap: 0;
}
.mkm-flow-card--tall p {
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  margin: 3px 0;
  line-height: 1.3;
}
.mkm-flow-card--center {
  text-align: center;
  align-items: center;
}

.mkm-flow-arrow {
  font-size: 14px;
  color: rgba(0,0,0,0.35);
  flex-shrink: 0;
  padding: 0 2px;
  line-height: 1;
  align-self: center;
}

/* ── Photo strip ── */
.mkm-photo-strip {
  margin: 40px -120px 0;
}
.mkm-photo-strip img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ③ EDM DESIGN — STRATEGY
   ══════════════════════════════════════ */


/* ── Metric circles ── */
.mkm-edm-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 24px;
}

.mkm-metric {
  width: 200px;
  min-height: 120px;
  border-radius: 40px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
}

.mkm-metric--outline {
  border: 0.5px solid #979797;
}

.mkm-metric--filled {
  background: #8b96a7;
  color: white;
}

.mkm-metric-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  margin: 0;
  line-height: 1.25;
}
.mkm-metric--filled .mkm-metric-title { color: white; }

.mkm-metric-desc {
  font-family: var(--font-text);
  font-size: 13px;
  color: rgba(0,0,0,0.75);
  margin: 0;
  line-height: 1.5;
}
.mkm-metric--filled .mkm-metric-desc { color: rgba(255,255,255,0.9); }

.mkm-metric-caret {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  position: absolute;
  bottom: -22px;
}

.mkm-metric-arrow {
  font-size: 18px;
  color: rgba(0,0,0,0.3);
  flex: 1;
  text-align: center;
}

/* ── Analysis table ── */
.mkm-edm-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 36px;
  border-radius: 4px;
  overflow: hidden;
}

.mkm-table-header,
.mkm-table-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.mkm-table-header {
  background: #8b96a7;
  padding: 12px 36px;
  gap: 43px;
}
.mkm-table-header span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.mkm-table-row {
  background: #b4cee2;
  padding: 12px 36px;
  gap: 43px;
  align-items: flex-start;
}
.mkm-table-row span,
.mkm-table-row ol {
  font-family: var(--font-text);
  font-size: 12px;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.mkm-table-row ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mkm-table-col1 { width: 160px; flex-shrink: 0; }
.mkm-table-col2 { width: 160px; flex-shrink: 0; }
.mkm-table-col3 { flex: 1; min-width: 0; }
.mkm-table-col4 { width: 180px; flex-shrink: 0; }

/* ══════════════════════════════════════
   ④–⑦ SPLIT SECTIONS (text + image)
   ══════════════════════════════════════ */
.mkm-split-section {
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background: white;
  margin-top: 150px;
  padding-right: 120px;
}

.mkm-split-text {
  flex: 3;
  padding: 60px 48px 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
}

.mkm-split-img {
  flex: 7;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.mkm-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════
   ⑧ VISUAL DESIGN (full-width)
   ══════════════════════════════════════ */
.mkm-visual-section {
  background: white;
  padding: 0 120px;
  margin-top: 150px;
  overflow: hidden;
}
.mkm-visual-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ══════════════════════════════════════
   SCROLL FADE-IN ANIMATION
   ══════════════════════════════════════ */
.mkm-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.mkm-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
