/* MEXUS SELLER — Landing styles
   Builds on assets/colors_and_type.css tokens. */
@import url("assets/colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--mx-font-body);
  background: var(--mx-bg);
  color: var(--mx-fg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ───── Theme (light default, dark via [data-theme="dark"]) ───── */
body[data-theme="dark"] {
  --mx-bg: #0D1826;
  --mx-bg-alt: #152232;
  --mx-surface: #1B2F45;
  --mx-surface-sub: #152232;
  --mx-fg-1: #FFFFFF;
  --mx-fg-2: rgba(255,255,255,.78);
  --mx-fg-3: rgba(255,255,255,.55);
  --mx-border: rgba(255,255,255,.10);
  --mx-gray: rgba(255,255,255,.78);
  --mx-gray-light: rgba(255,255,255,.55);
  --mx-navy: #FFFFFF;
  background: var(--mx-bg);
  color: var(--mx-fg-1);
}
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4 { color: #FFFFFF; }
body[data-theme="dark"] p { color: rgba(255,255,255,.78); }

/* ───── Layout primitives ───── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--mx-bg-alt); }
body[data-theme="dark"] .section.alt { background: #152232; }
.section.dark {
  background: var(--mx-navy);
  color: #fff;
}
.section.dark h2,
.section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.7); }

.section-head { text-align: center; margin-bottom: 56px; }
.overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mx-orange);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--mx-font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section-sub {
  color: var(--mx-fg-2);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; border: none;
  transition: transform .15s var(--mx-ease-swift), box-shadow .25s var(--mx-ease-swift), background .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--mx-orange); color: #fff;
  box-shadow: 0 6px 20px rgba(244,121,32,.28);
}
.btn-primary:hover { background: var(--mx-orange-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(244,121,32,.45); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: inherit;
  border: 1.5px solid var(--mx-border);
}
.btn-ghost:hover { border-color: var(--mx-orange); color: var(--mx-orange); }
.btn-dark { background: var(--mx-navy); color: #fff; }
.btn-dark:hover { background: var(--mx-navy-light); }

/* ───── Reveal-on-scroll ───── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--mx-ease), transform .7s var(--mx-ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───── Marquee for brand pills ───── */
@keyframes mx-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(244,121,32,.22); }
  50%     { box-shadow: 0 0 0 12px rgba(244,121,32,.04); }
}
@keyframes mx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 20px;
  animation: mx-marquee 38s linear infinite;
  white-space: nowrap;
  padding-right: 20px;
}

/* Card variants (driven by [data-card-style]) */
.svc-card {
  position: relative;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--mx-ease), border-color .2s, box-shadow .25s, background .2s;
  cursor: pointer;
}
body[data-card-style="flat"] .svc-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: 12px;
}
body[data-card-style="flat"] .svc-card:hover {
  border-color: var(--mx-orange);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
body[data-card-style="elevated"] .svc-card {
  background: var(--mx-surface);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
body[data-card-style="elevated"] .svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
}
body[data-card-style="bordered"] .svc-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-top: 3px solid var(--mx-orange);
  border-radius: 10px;
}
body[data-card-style="bordered"] .svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
body[data-card-style="outline"] .svc-card {
  background: transparent;
  border: 1.5px solid var(--mx-border);
  border-radius: 8px;
}
body[data-card-style="outline"] .svc-card:hover {
  background: var(--mx-surface);
  border-color: var(--mx-orange);
}
body[data-theme="dark"] .svc-card { background: var(--mx-surface); }

.svc-card-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--mx-orange-soft);
  color: var(--mx-orange);
  font-size: 22px;
}
.svc-card-title {
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.1;
  color: var(--mx-navy);
}
body[data-theme="dark"] .svc-card-title { color: #fff; }
.svc-card-desc { font-size: 14px; line-height: 1.55; color: var(--mx-gray); }
body[data-theme="dark"] .svc-card-desc { color: rgba(255,255,255,.72); }
.svc-card-price {
  margin-top: 8px;
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 12px;
  background: var(--mx-orange-soft);
  color: var(--mx-orange);
  border-radius: 999px;
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  width: fit-content;
}

/* Brand pills */
.brand-pill {
  display: inline-flex; align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  flex-shrink: 0;
}

/* Brand logo cards (carousel) — placeholder until real logos drop in */
.brand-logo-card {
  flex-shrink: 0;
  width: 200px;
  height: 110px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,.30), 0 1px 0 rgba(255,255,255,.4) inset;
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .3s var(--mx-ease);
  overflow: hidden;
}
.brand-logo-card:hover { transform: translateY(-4px); }
.brand-logo-name {
  font-family: var(--mx-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--mx-navy);
  text-align: center;
  line-height: 1.05;
  text-wrap: balance;
}
.brand-logo-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(0,0,0,.32);
  padding: 2px 9px; border-radius: 999px;
  background: rgba(0,0,0,.04);
  border: 1px dashed rgba(0,0,0,.15);
}
.brand-logo-img {
  display: block;
  width: 100%;
  height: 60px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: .85;
  transition: filter .3s var(--mx-ease), opacity .3s var(--mx-ease);
}
/* Per-brand scale overrides — logos with lots of internal whitespace */
.brand-logo-img[alt="Prisma"],
.brand-logo-img[alt="Maja"],
.brand-logo-img[alt="Mil Flores"],
.brand-logo-img[alt="Habits"],
.brand-logo-img[alt="Bio Maussan"],
.brand-logo-img[alt="Regina Romero"] {
  transform: scale(1.45);
}
.brand-logo-img[alt="Tía Ofilia"],
.brand-logo-img[alt="Hauss"],
.brand-logo-img[alt="Seima"] {
  transform: scale(1.75);
}
.brand-logo-card:hover .brand-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Pulse dot */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(142 71% 45%);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
  animation: mx-pulse-dot 2s infinite;
}
@keyframes mx-pulse-dot {
  0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.22); }
  50%     { box-shadow: 0 0 0 8px rgba(74,222,128,.05); }
}

/* WhatsApp floating btn pulse halo */
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .35; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   Process v2 — interactive stepper section
   Replaces the previous "Cómo trabajamos" section.
   Desktop ≥1024px: tab-based stepper with 5s auto-play.
   Mobile  <1024px: vertical timeline driven by IntersectionObserver.
   ══════════════════════════════════════════════════════════ */
.process-v2 {
  --mxs-orange: #F47920;
  --mxs-orange-hover: #d96916;
  --mxs-navy: #152232;
  --mxs-navy-light: #1a2a3e;
  --mxs-navy-lighter: #243348;
  --mxs-bg-page: #0e1825;
  --mxs-text-primary: #ffffff;
  --mxs-text-secondary: #9ca3b3;
  --mxs-text-tertiary: #6b7889;
  --mxs-border: rgba(255, 255, 255, 0.08);
  --mxs-border-strong: rgba(255, 255, 255, 0.16);

  background: var(--mxs-navy);
  color: var(--mxs-text-primary);
  padding: 96px 0;
  position: relative;
}
.process-v2 * { box-sizing: border-box; }

.process-v2-head { text-align: center; margin-bottom: 56px; }
.process-v2-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mxs-orange);
  margin-bottom: 16px;
}
.process-v2-title {
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #fff;
}
.process-v2-subtitle {
  color: var(--mxs-text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Focus ring for all interactive elements in the section */
.process-v2 button:focus-visible,
.process-v2 a:focus-visible {
  outline: 2px solid var(--mxs-orange);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ─── Desktop variant (≥1024px) ─── */
.process-v2-desktop { display: none; }
@media (min-width: 1024px) {
  .process-v2-desktop { display: block; }
}

/* Progress bar with overlaid dots */
.process-v2-progress {
  position: relative;
  height: 24px;
  margin: 32px 0 28px;
}
.process-v2-progress-track {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
}
.process-v2-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  transform: translateY(-50%);
  background: var(--mxs-orange);
  border-radius: 999px;
  transition: width 400ms cubic-bezier(.4,0,.2,1);
}
.process-v2-dots {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-v2-dot {
  position: relative;
  justify-self: center;
  align-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mxs-navy-light);
  border: 2px solid var(--mxs-border-strong);
  cursor: pointer;
  padding: 0;
  transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.process-v2-dot:hover { border-color: var(--mxs-orange); }
.process-v2-dot.is-past,
.process-v2-dot.is-active {
  background: var(--mxs-orange);
  border-color: var(--mxs-orange);
}
.process-v2-dot.is-active {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(244, 121, 32, 0.15);
}
/* Auto-play sweep ring around the active dot */
.process-v2-dot-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--mxs-orange);
  animation: process-v2-ring-spin 5s linear forwards;
  pointer-events: none;
}
@keyframes process-v2-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Tab row */
.process-v2-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.process-v2-tab {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 16px;
  min-height: 100px;
  background: transparent;
  border: 0.5px solid var(--mxs-border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: var(--mxs-text-secondary);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.process-v2-tab:hover {
  transform: translateY(-1px);
  border-color: var(--mxs-border-strong);
}
.process-v2-tab:hover .process-v2-tab-num {
  color: rgba(244, 121, 32, 0.6);
}
.process-v2-tab:hover .process-v2-tab-name {
  transform: translateY(-1px);
}
.process-v2-tab.is-active {
  background: var(--mxs-navy);
  border-color: var(--mxs-navy);
  box-shadow: inset 0 0 0 1px rgba(244, 121, 32, 0.4);
}
.process-v2-tab-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--mxs-text-tertiary);
  margin-bottom: 8px;
  transition: color 200ms ease;
}
.process-v2-tab.is-active .process-v2-tab-num { color: var(--mxs-orange); }
.process-v2-tab-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mxs-text-secondary);
  margin-bottom: 10px;
  transition: transform 200ms ease, color 200ms ease, font-size 200ms ease;
}
.process-v2-tab.is-active .process-v2-tab-name {
  color: #fff;
  font-size: 18px;
}
.process-v2-tab-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(244, 121, 32, 0.12);
  color: var(--mxs-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* LIVE pill — top-right of active tab, only when auto-play is counting down */
.process-v2-tab-live {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(244, 121, 32, 0.15);
  color: var(--mxs-orange);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.process-v2-tab-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mxs-orange);
  animation: process-v2-live-dot 1.2s ease-in-out infinite;
}
@keyframes process-v2-live-dot {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* 5s countdown bar — fills bottom of active tab, paused while user is interacting */
.process-v2-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--mxs-orange);
  animation: process-v2-tab-fill 5s linear forwards;
  pointer-events: none;
}
@keyframes process-v2-tab-fill {
  from { width: 0; }
  to   { width: 100%; }
}
.process-v2-desktop[data-paused="true"] .process-v2-tab-progress {
  animation-play-state: paused;
}

/* Stage card */
.process-v2-card {
  background: var(--mxs-navy-light);
  border: 1px solid var(--mxs-border);
  border-radius: 12px;
  padding: 32px;
  animation: process-v2-card-in 400ms cubic-bezier(.4,0,.2,1);
}
@keyframes process-v2-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.process-v2-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mxs-border);
}
.process-v2-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mxs-orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-v2-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  color: #fff;
  line-height: 1;
}
.process-v2-card-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mxs-text-secondary);
  margin: 0;
}
.process-v2-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(244, 121, 32, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-v2-card-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.process-v2-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mxs-text-tertiary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.process-v2-deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-v2-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mxs-text-primary);
}
.process-v2-deliverables li svg { flex-shrink: 0; margin-top: 4px; }
.process-v2-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--mxs-navy);
  border: 1px solid var(--mxs-border);
  border-radius: 10px;
  align-self: flex-start;
}
.process-v2-stat-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mxs-text-tertiary);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.process-v2-stat-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--mxs-text-primary);
  line-height: 1.4;
}

.process-v2-card-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--mxs-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.process-v2-counter {
  font-family: 'JetBrains Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--mxs-text-tertiary);
  letter-spacing: 0.08em;
}
.process-v2-nav { display: flex; gap: 8px; }
.process-v2-nav button {
  background: transparent;
  border: 1px solid var(--mxs-border-strong);
  color: var(--mxs-text-secondary);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 200ms, color 200ms, background 200ms, transform 200ms, box-shadow 200ms;
}
.process-v2-nav button:hover {
  border-color: var(--mxs-orange);
  color: var(--mxs-orange);
}

/* Siguiente — secondary CTA. Stronger than Anterior (ghost), weaker than the
   primary booking CTA (solid orange). Subtle pulse hints at forward motion. */
.process-v2-nav .process-v2-nav-next {
  background: rgba(244, 121, 32, 0.12);
  border-color: var(--mxs-orange);
  color: var(--mxs-orange);
  font-weight: 500;
  animation: process-v2-next-pulse 3.5s ease-in-out infinite;
}
.process-v2-nav .process-v2-nav-next:hover {
  background: rgba(244, 121, 32, 0.22);
  border-color: var(--mxs-orange);
  color: var(--mxs-orange);
  transform: translateX(2px);
}
@keyframes process-v2-next-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 121, 32, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(244, 121, 32, 0.15); }
}
/* Pause the pulse while user is hovering the section — auto-play is also paused */
.process-v2-desktop:hover .process-v2-nav-next {
  animation-play-state: paused;
}
.process-v2-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mxs-orange);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms, transform 200ms, box-shadow 200ms;
  box-shadow: 0 6px 20px rgba(244, 121, 32, 0.28);
}
.process-v2-cta:hover {
  background: var(--mxs-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(244, 121, 32, 0.45);
}

/* ─── Mobile variant (<1024px) ─── */
.process-v2-mobile { display: none; }
@media (max-width: 1023px) {
  .process-v2-mobile { display: block; }
  .process-v2 { padding: 64px 0; }
  .process-v2-head { margin-bottom: 36px; }
}

.process-v2-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.process-v2-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
}
.process-v2-timeline::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  width: 2px;
  height: var(--mxs-timeline-fill, 0%);
  background: var(--mxs-orange);
  border-radius: 999px;
  transition: height 600ms cubic-bezier(.4,0,.2,1);
}
.process-v2-timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 32px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 500ms cubic-bezier(.4,0,.2,1), transform 500ms cubic-bezier(.4,0,.2,1);
}
.process-v2-timeline-item.is-reached {
  opacity: 1;
  transform: none;
}
.process-v2-timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mxs-navy);
  border: 2px solid var(--mxs-border-strong);
  color: var(--mxs-text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  z-index: 1;
  transition: background 400ms ease, color 400ms ease, border-color 400ms ease;
}
.process-v2-timeline-item.is-reached .process-v2-timeline-num {
  background: var(--mxs-orange);
  border-color: var(--mxs-orange);
  color: #fff;
}
.process-v2-timeline-card {
  background: var(--mxs-navy-light);
  border: 1px solid var(--mxs-border);
  border-radius: 12px;
  padding: 20px;
}
.process-v2-timeline-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.process-v2-timeline-card .process-v2-card-title {
  font-size: 24px;
  margin: 4px 0 6px;
}
.process-v2-timeline-card .process-v2-card-tagline {
  margin-bottom: 16px;
}
.process-v2-timeline-card .process-v2-deliverables { margin-bottom: 8px; }
.process-v2-toggle {
  background: transparent;
  border: none;
  color: var(--mxs-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 6px 0;
  font-family: inherit;
  margin-bottom: 14px;
}
.process-v2-stats-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: var(--mxs-navy);
  border: 1px solid var(--mxs-border);
  border-radius: 10px;
}
.process-v2-stats-mobile .process-v2-stat-label { font-size: 9.5px; }
.process-v2-stats-mobile .process-v2-stat-value { font-size: 13px; }

.process-v2-cta-mobile {
  display: block;
  margin: 8px auto 0;
  padding: 16px 20px;
  font-size: 14px;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
  max-width: 480px;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .process-v2 *,
  .process-v2 *::before,
  .process-v2 *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ──────────────────────────────────────────────────────────
   Responsive (existing site rules)
   ────────────────────────────────────────────────────────── */

/* Hamburger + mobile drawer — desktop hides them outright */
.mx-nav-burger { display: none !important; }
.mx-nav-drawer { display: none; }

@media (max-width: 880px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .nav-links-desktop { display: none !important; }
  .wrap { padding: 0 20px; }

  /* Navbar — only logo + hamburger on mobile; everything else lives in the drawer */
  nav > div { padding: 10px 16px !important; gap: 12px !important; }
  .mx-nav-logo { height: 32px !important; width: auto !important; }
  .mx-desktop-only { display: none !important; }
  .mx-nav-right { gap: 0 !important; }
  .mx-nav-burger { display: inline-flex !important; }

  /* Mobile drawer — full-screen below the nav, slides in when open */
  .mx-nav-drawer {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 24, 38, .98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    z-index: 49;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .mx-nav-drawer.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mx-nav-drawer-inner {
    padding: 28px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mx-nav-drawer-link {
    display: block;
    padding: 16px 4px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .2s;
  }
  .mx-nav-drawer-link:active { color: #F47920; }

  /* Drawer lang toggle */
  .mx-nav-drawer-lang {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .mx-nav-drawer-lang-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
  }
  .mx-nav-drawer-lang-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
  }
  .mx-nav-drawer-lang-toggle button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, .6);
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .mx-nav-drawer-lang-toggle button.is-active {
    background: rgba(244, 121, 32, .15);
    color: #F47920;
  }

  .mx-nav-drawer-ctas {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mx-nav-drawer-primary {
    background: #F47920;
    color: #fff;
    padding: 16px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 20px rgba(244, 121, 32, .4);
  }
  .mx-nav-drawer-ghost {
    background: transparent;
    color: rgba(255, 255, 255, .85);
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
  }

  /* Hero stats — 4 cols → 2 cols, smaller numbers */
  .mx-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-top: 40px !important;
    max-width: 480px !important;
  }

  /* Hero CTAs — stack full-width */
  .mx-hero-ctas { flex-direction: column !important; align-items: stretch !important; width: 100%; max-width: 360px; margin: 0 auto; }
  .mx-hero-ctas a { justify-content: center; padding: 14px 20px !important; font-size: 13px !important; }

  /* Hero mini dashboard — 4 KPIs → 2×2, smaller chrome */
  .mx-hero-dash { margin-top: 56px !important; transform: none !important; border-radius: 10px !important; }
  .mx-hero-dash-kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .mx-hero-dash-head { padding: 10px 14px !important; gap: 8px !important; }
  .mx-hero-dash-title { font-size: 9px !important; letter-spacing: .5px !important; }
  .mx-hero-dash-chart { height: 56px !important; padding: 6px 12px !important; }

  /* Process — stages stack, orange connector lines hidden */
  .mx-process-grid .conn-line { display: none !important; }
  .mx-process-grid > div { max-width: 100% !important; flex-basis: 100% !important; }

  /* Team — text + cards stack vertically; founder cards stay 2-up but tighter */
  .mx-team-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .mx-team-cards { gap: 10px !important; }

  /* Platform preview — KPIs 4→2, tabs scroll horizontally, hide URL bar */
  .mx-platform-frame { border-radius: 10px !important; }
  .mx-platform-body { padding: 14px !important; }
  .mx-platform-url { display: none !important; }
  .mx-platform-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
  }
  .mx-platform-tabs::-webkit-scrollbar { display: none; }
  .mx-platform-tabs > span { flex-shrink: 0; }
  .mx-platform-kpis { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

  /* Contact card — less padding, info row stacks */
  .mx-contact-card { padding: 48px 20px !important; border-radius: 14px !important; }
  .mx-contact-row { grid-template-columns: 1fr !important; gap: 16px !important; padding-top: 24px !important; }

  /* Brand carousel — smaller logo cards on phones */
  .brand-logo-card { width: 150px !important; height: 90px !important; padding: 10px 14px !important; }
  .brand-logo-img { height: 50px !important; max-width: 120px !important; }
}

@media (max-width: 720px) {
  .section-title { font-size: clamp(28px, 7vw, 38px) !important; }
  .section-sub { font-size: 15px; }

  /* Diff cards (within Team) drop to single column when really narrow */
  .mx-team-diff { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Footer head: logo + tagline stack instead of side-by-side */
  footer > div > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .mx-hero-stats { gap: 16px !important; }
  .brand-logo-card { width: 130px !important; height: 80px !important; }
  .brand-logo-img { height: 42px !important; max-width: 100px !important; }
}
