/*
Theme Name: Mercavisor
Theme URI: https://mercavisor.com
Author: Mercavisor
Author URI: https://mercavisor.com
Description: Tema B2B "Manifiesto Digital" para la plataforma Mercavisor — manifiesto compartido de importadoras. Ligero, rápido y diseñado para la posterior integración con el plugin de funcionalidad. Tipografía Fraunces + Geist, paleta clara, listo para dashboards de datos densos.
Version: 1.0.56
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mercavisor
Tags: business, light, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, block-styles
*/

/* ============================================================
   MERCAVISOR — Sistema de diseño "Manifiesto Digital"
   Versión 1.0.0
   ============================================================ */

:root {
  /* Color tokens */
  --ink:        #0A0E1A;
  --ink-soft:   #1F2533;
  --slate:      #4F5868;
  --mute:       #8B95A1;
  --line:       #E5E7EB;
  --line-soft:  #EFF1F4;
  --paper:      #F7F8FA;
  --canvas:     #FFFFFF;
  --canvas-2:   #FBFCFD;

  --brand:      #1652F0;
  --brand-dark: #0F3FCC;
  --brand-soft: #EBF1FF;

  --container:      #FF6B35;
  --container-soft: #FFF1EB;

  --green:      #16A34A;
  --green-soft: #E7F8EE;
  --amber:      #D97706;
  --amber-soft: #FEF4E5;
  --red:        #DC2626;
  --red-soft:   #FDECEC;

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-ui:      'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max-w: 1240px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --sidebar-w: 232px;
  --topbar-h: 56px;

  --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow:    0 1px 3px rgba(10, 14, 26, 0.06), 0 8px 24px -8px rgba(10, 14, 26, 0.06);
  --shadow-lg: 0 4px 8px rgba(10, 14, 26, 0.04), 0 24px 48px -12px rgba(10, 14, 26, 0.12);
}

/* ============================================================
   BASE / RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important;
  width: 1px; word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--canvas);
  padding: 12px 18px;
  z-index: 100;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAVBAR (LANDING / PÚBLICO)
   ============================================================ */
.mv-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.mv-nav.scrolled { border-bottom-color: var(--line); }

.mv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.mv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mv-logo-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--canvas);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  flex-shrink: 0;
}

/* ====================================================================
   WORDMARK MERCAVISOR — animado
   ==================================================================== */
.mv-wordmark {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  line-height: 1;
  padding-bottom: 9px; /* espacio para la onda (posicionada absoluta) */
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.015em;
  flex: 0 0 auto;
}

.mv-wordmark--sm { font-size: 15px; padding-bottom: 6px; }
.mv-wordmark--md { font-size: 22px; padding-bottom: 9px; }
.mv-wordmark--lg { font-size: 36px; padding-bottom: 15px; }

.mv-wordmark-text {
  display: inline-flex;
  gap: 0;
}

.mv-wordmark-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  animation: mv-wordmark-letter-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mv-wordmark-letter-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.mv-wordmark-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  color: var(--brand);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: mv-wordmark-wave-draw 1.4s ease-out 0.5s forwards;
}

.mv-wordmark--sm .mv-wordmark-wave { height: 4px; }
.mv-wordmark--lg .mv-wordmark-wave { height: 10px; }

@keyframes mv-wordmark-wave-draw {
  to { stroke-dashoffset: 0; }
}

/* En hover, re-animar la onda sutilmente */
.mv-logo:hover .mv-wordmark-wave {
  animation: mv-wordmark-wave-pulse 0.8s ease-out;
}

@keyframes mv-wordmark-wave-pulse {
  0%   { stroke-dashoffset: 0; opacity: 1; }
  50%  { stroke-dashoffset: 110; opacity: 0.5; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Respeta motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mv-wordmark-letter { opacity: 1; transform: none; animation: none; }
  .mv-wordmark-wave   { stroke-dashoffset: 0; animation: none; }
}

.mv-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mv-nav-links a {
  font-size: 14px;
  color: var(--slate);
  transition: color .15s ease;
}
.mv-nav-links a:hover,
.mv-nav-links .current-menu-item > a { color: var(--ink); }

.mv-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  background: none;
}
.mv-btn-ghost { background: transparent; color: var(--ink); }
.mv-btn-ghost:hover { background: var(--line-soft); }
.mv-btn-primary { background: var(--ink); color: var(--canvas); }
.mv-btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.mv-btn-outline {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--line);
}
.mv-btn-outline:hover { border-color: var(--ink); }
.mv-btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.mv-hero {
  position: relative;
  padding: 72px 0 32px;
  overflow: hidden;
}
.mv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,14,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,14,26,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

.mv-hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.mv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.mv-badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--green-soft);
  animation: mv-pulse 2.4s ease-in-out infinite;
}
@keyframes mv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.mv-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.mv-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.mv-hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 36px;
}
.mv-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.mv-hero-arrow { display: inline-block; transition: transform .15s ease; }
.mv-btn:hover .mv-hero-arrow { transform: translateX(2px); }

/* ============================================================
   PREVIEW DEL DASHBOARD (en landing)
   ============================================================ */
.mv-preview-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mv-preview {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mv-preview-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mv-preview-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mv-preview-url {
  flex: 1;
  margin: 0 12px;
  height: 22px;
  background: var(--canvas);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mute);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
}

.mv-dash-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}
.mv-dash-side {
  background: var(--canvas-2);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
}
.mv-dash-side-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin: 0 12px 10px;
  font-weight: 500;
}
.mv-dash-nav { list-style: none; margin: 0; padding: 0; }
.mv-dash-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--slate);
  border-radius: 6px;
}
.mv-dash-nav li.active { background: var(--ink); color: var(--canvas); }
.mv-dash-nav li svg { width: 16px; height: 16px; flex-shrink: 0; }

.mv-dash-main { padding: 24px 28px; }
.mv-dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mv-dash-toolbar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.mv-dash-toolbar h3 span { color: var(--mute); font-style: italic; }

/* ============================================================
   STATS
   ============================================================ */
.mv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.mv-stat {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.mv-stat-label {
  font-size: 11.5px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.mv-stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mv-stat-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  margin-top: 6px;
}
.mv-stat-meta.up { color: var(--green); }
.mv-stat-meta.down { color: var(--red); }
.mv-stat-meta.warn { color: var(--container); }

/* ============================================================
   MANIFEST TABLE
   ============================================================ */
.mv-manifest {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mv-manifest-head {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 0.7fr 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  align-items: center;
  padding: 10px 16px;
  background: var(--canvas-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-weight: 500;
}
.mv-manifest-row {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 0.7fr 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  align-items: center;
}
.mv-manifest-row:last-child { border-bottom: none; }
.mv-manifest-row:hover { background: var(--canvas-2); }

.mv-empresa { font-weight: 500; }
.mv-producto-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}
.mv-ruta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  color: var(--slate);
  font-size: 13px;
}
.mv-ruta-arrow { color: var(--mute); }
.mv-ruta-node { white-space: nowrap; }
.mv-qty { font-family: var(--font-mono); font-weight: 500; }
.mv-eta { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); }

.mv-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  height: 22px;
}
.mv-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.mv-pill.transito { background: var(--brand-soft); color: var(--brand-dark); }
.mv-pill.reportado { background: var(--canvas-2); color: var(--slate); border: 1px solid var(--line); }
.mv-pill.aduana { background: var(--amber-soft); color: var(--amber); }
.mv-pill.llegado { background: var(--green-soft); color: var(--green); }
.mv-pill.saturado { background: var(--red-soft); color: var(--red); }

.mv-saturation {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.mv-sat-bar {
  flex: 1;
  height: 4px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  max-width: 60px;
}
.mv-sat-fill { height: 100%; background: var(--brand); border-radius: 2px; }
.mv-sat-fill.warn { background: var(--container); }
.mv-sat-fill.danger { background: var(--red); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.mv-trust { padding: 56px 0 32px; text-align: center; }
.mv-trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin-bottom: 24px;
}
.mv-trust-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.mv-trust-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--mute);
  opacity: 0.75;
  transition: opacity .15s ease;
}
.mv-trust-logo:hover { opacity: 1; color: var(--ink); }
.mv-trust-logo.alt { font-family: var(--font-ui); font-style: normal; font-weight: 700; }
.mv-trust-logo.mono { font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 16px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.mv-section { padding: 96px 0; }
.mv-section.tight { padding: 64px 0; }
.mv-section.alt { background: var(--canvas-2); }

.mv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.mv-eyebrow::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--brand);
}

.mv-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  max-width: 720px;
}
.mv-section-title em { font-style: italic; color: var(--brand); }
.mv-section-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 600px;
  margin: 0 0 48px;
  line-height: 1.55;
}
.mv-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}

/* ============================================================
   STEPS
   ============================================================ */
.mv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mv-step {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mv-step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mv-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 32px;
}
.mv-step h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.mv-step p { margin: 0; color: var(--slate); font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   FEATURES
   ============================================================ */
.mv-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.mv-feature {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s ease;
}
.mv-feature:hover { border-color: var(--ink); }
.mv-feature.span-2 { grid-column: span 2; }
.mv-feature.span-3 { grid-column: span 3; }
.mv-feature.span-4 { grid-column: span 4; }

.mv-feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.mv-feature-icon.orange { background: var(--container-soft); color: var(--container); }
.mv-feature-icon.green { background: var(--green-soft); color: var(--green); }
.mv-feature-icon.dark { background: var(--ink); color: var(--canvas); }

.mv-feature h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.mv-feature p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }

.mv-feature-hero {
  grid-column: span 6;
  background: var(--ink);
  color: var(--canvas);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: none;
}
.mv-feature-hero h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--canvas);
}
.mv-feature-hero h3 em { font-style: italic; color: var(--container); }
.mv-feature-hero p { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 380px; }

.mv-sat-viz {
  background: var(--ink-soft);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}
.mv-sv-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 12.5px;
}
.mv-sv-row + .mv-sv-row { border-top: 1px solid rgba(255,255,255,0.06); }
.mv-sv-label { color: rgba(255,255,255,0.7); }
.mv-sv-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.mv-sv-fill { height: 100%; background: var(--brand); border-radius: 3px; }
.mv-sv-fill.warn { background: var(--container); }
.mv-sv-fill.danger { background: #ff4d6d; }
.mv-sv-pct { font-family: var(--font-mono); text-align: right; color: rgba(255,255,255,0.85); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.mv-cta-strip {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.mv-cta-strip::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background-image:
    linear-gradient(to right, rgba(22,82,240,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,82,240,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black);
  mask-image: linear-gradient(to right, transparent, black);
}
.mv-cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.mv-cta-strip h2 em { font-style: italic; color: var(--brand); }
.mv-cta-strip p { color: var(--slate); margin: 0 0 24px; font-size: 16px; }

.mv-cta-form {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.mv-cta-form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.mv-cta-input-row { display: flex; gap: 8px; }
.mv-cta-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.mv-cta-input:focus { border-color: var(--ink); }
.mv-cta-form-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mv-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  margin-top: 40px;
}
.mv-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.mv-footer-brand { max-width: 320px; }
.mv-footer-brand p {
  color: var(--slate);
  font-size: 13.5px;
  margin: 12px 0 0;
  line-height: 1.55;
}
.mv-footer-col h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  font-weight: 500;
  margin: 0 0 14px;
}
.mv-footer-col ul { list-style: none; padding: 0; margin: 0; }
.mv-footer-col li { margin-bottom: 8px; }
.mv-footer-col a { font-size: 14px; color: var(--ink-soft); }
.mv-footer-col a:hover { color: var(--brand); }
.mv-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--mute);
}
.mv-footer-bottom-links { display: flex; gap: 24px; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
body.mv-dashboard {
  background: var(--paper);
}
body.mv-dashboard .mv-nav,
body.mv-dashboard .mv-footer { display: none; }

.mv-app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.mv-sidebar {
  background: var(--canvas);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.mv-sidebar-brand {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 16px;
}

.mv-org-card {
  margin: 14px;
  padding: 12px;
  background: var(--canvas-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mv-org-avatar {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1652F0, #0F3FCC);
  color: var(--canvas);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.mv-org-name { font-weight: 500; font-size: 13px; line-height: 1.3; }
.mv-org-role { font-size: 11px; color: var(--mute); margin-top: 2px; }

.mv-nav-group { padding: 8px 14px; }
.mv-nav-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  font-weight: 500;
  margin: 8px 12px 6px;
}
.mv-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .12s ease;
  margin-bottom: 1px;
  text-decoration: none;
}
.mv-nav-item:hover { background: var(--canvas-2); }
.mv-nav-item.active {
  background: var(--ink);
  color: var(--canvas);
  font-weight: 500;
}
.mv-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.mv-nav-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--brand);
  color: var(--canvas);
  padding: 1px 6px;
  border-radius: 100px;
  font-weight: 500;
}
.mv-nav-item.active .mv-nav-badge { background: var(--container); }

.mv-sidebar-footer {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.mv-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background .12s ease;
}
.mv-user-card:hover { background: var(--canvas-2); }
.mv-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  display: grid; place-items: center;
  font-weight: 500;
  font-size: 11px;
}
.mv-user-info { flex: 1; min-width: 0; }
.mv-user-name { font-size: 13px; font-weight: 500; }
.mv-user-email { font-size: 11.5px; color: var(--mute); }

.mv-main { min-width: 0; }

.mv-topbar {
  height: var(--topbar-h);
  background: var(--canvas-soft, #F7F8FA);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.mv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}
.mv-breadcrumb .sep { color: var(--mute); }
.mv-breadcrumb .current { color: var(--ink); font-weight: 500; }

.mv-search {
  flex: 1;
  max-width: 360px;
  margin-left: 20px;
  position: relative;
}
.mv-search input {
  width: 100%;
  height: 32px;
  padding: 0 12px 0 32px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.mv-search input:focus { border-color: var(--ink); }
.mv-search > svg {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--mute);
}
.mv-kbd {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  background: var(--canvas-2);
}

.mv-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.mv-icon-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--slate);
  transition: background .12s ease;
  position: relative;
  border: none;
  background: transparent;
}
.mv-icon-btn:hover { background: var(--canvas-2); color: var(--ink); }
.mv-icon-btn .dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 7px; height: 7px;
  background: var(--container);
  border-radius: 50%;
  border: 2px solid var(--paper);
}

.mv-content {
  padding: 28px 32px 48px;
  max-width: 1480px;
}

.mv-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
}
.mv-page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.mv-page-title em { font-style: italic; color: var(--brand); }
.mv-page-meta { color: var(--slate); font-size: 14px; margin-top: 8px; }

/* Alert banner */
.mv-alert {
  background: var(--container-soft);
  border: 1px solid #FFD9C7;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.mv-alert-icon {
  width: 32px; height: 32px;
  background: var(--container);
  color: var(--canvas);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mv-alert-body { flex: 1; }
.mv-alert-title { font-weight: 600; color: var(--ink); margin-bottom: 2px; font-size: 14px; }
.mv-alert-text { color: var(--ink-soft); font-size: 13px; }
.mv-alert-text strong { color: var(--ink); font-weight: 600; }

/* Tabs */
.mv-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.mv-tab {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.mv-tab:hover { color: var(--ink); }
.mv-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.mv-tab .count {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--canvas-2);
  color: var(--slate);
  padding: 1px 6px;
  border-radius: 100px;
}
.mv-tab.active .count { background: var(--ink); color: var(--canvas); }

/* Filters */
.mv-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.mv-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
}
.mv-filter:hover { border-color: var(--ink); }
.mv-filter.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-dark);
}
.mv-filter-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }

/* Grid 2 cols */
.mv-grid-2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

/* Side panel */
.mv-panel {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.mv-panel + .mv-panel { margin-top: 16px; }
.mv-panel-head {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mv-panel-title {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}
.mv-panel-link { font-size: 12px; color: var(--brand); font-weight: 500; }

/* ============================================================
   POSTS / BLOG (default WP content)
   ============================================================ */
.mv-page-content {
  max-width: 760px;
  margin: 64px auto;
  padding: 0 var(--gutter);
}
.mv-page-content.is-wide {
  max-width: 1180px;
}
.mv-page-content.is-wide > article > header h1 {
  text-align: center;
  margin-bottom: 8px;
}
.mv-page-content h1, .mv-page-content h2, .mv-page-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mv-page-content h1 { font-size: 42px; line-height: 1.1; margin: 0 0 24px; }
.mv-page-content h2 { font-size: 30px; margin: 48px 0 16px; }
.mv-page-content h3 { font-size: 22px; margin: 32px 0 12px; }
.mv-page-content p { margin: 0 0 18px; line-height: 1.7; color: var(--ink-soft); }
.mv-page-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mv-page-content a:hover { color: var(--brand-dark); }
.mv-page-content blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--slate);
}
.mv-page-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--canvas-2);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.mv-page-content pre {
  background: var(--ink);
  color: #E5E7EB;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}
.mv-page-content pre code { background: none; border: none; padding: 0; color: inherit; }
.mv-page-content img { border-radius: 10px; margin: 24px 0; }
.mv-page-content ul, .mv-page-content ol { padding-left: 24px; margin: 0 0 18px; }
.mv-page-content li { margin-bottom: 6px; line-height: 1.6; }

.mv-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.mv-archive-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.mv-archive-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.mv-archive-item h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.mv-archive-item h2 a:hover { color: var(--brand); }
.mv-archive-item .excerpt { color: var(--slate); font-size: 14.5px; margin-top: 8px; }
.mv-archive-item .meta { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }

/* 404 */
.mv-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.mv-404 .code {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand);
  margin-bottom: 12px;
}
.mv-404 h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
.mv-404 h1 em { font-style: italic; color: var(--brand); }
.mv-404 p { color: var(--slate); font-size: 17px; max-width: 480px; margin: 0 auto 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — v1.0.6 auditoría completa
   ============================================================ */

/* Botón hamburguesa del topbar (oculto en desktop) */
.mv-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  margin-right: 6px;
}
.mv-sidebar-toggle:hover { background: var(--canvas-soft); }

.mv-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 24, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.mv-sidebar-backdrop.is-open {
  display: block;
  opacity: 1;
}

/* Tablet grande */
@media (max-width: 1200px) {
  .mv-grid-2 { grid-template-columns: 1fr; }
  .mv-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet (≤960px) — escondemos sidebar landing y nav header */
@media (max-width: 960px) {
  .mv-nav-links { display: none; }
  .mv-features { grid-template-columns: 1fr; }
  .mv-feature.span-2, .mv-feature.span-3, .mv-feature.span-4 { grid-column: span 1; }
  .mv-feature-hero { grid-template-columns: 1fr; padding: 32px; }
  .mv-steps { grid-template-columns: 1fr; }
  .mv-cta-strip { grid-template-columns: 1fr; padding: 36px 28px; }
  .mv-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mv-preview-wrap { padding: 0 12px; }
  .mv-dash-preview { grid-template-columns: 1fr; }
  .mv-dash-side { display: none; }
  .mv-manifest-head, .mv-manifest-row {
    grid-template-columns: 1.4fr 1.2fr 0.7fr;
    gap: 10px;
  }
  .mv-manifest-head > *:nth-child(n+4),
  .mv-manifest-row > *:nth-child(n+4) { display: none; }
  .mv-hero { padding: 48px 0 24px; }
  .mv-footer-bottom { flex-direction: column; gap: 16px; }

  /* === Dashboard (mv-app): sidebar como drawer === */
  .mv-app {
    grid-template-columns: 1fr !important;
  }
  .mv-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.25s ease-out;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
  }
  .mv-sidebar.is-open {
    transform: translateX(0);
  }

  /* Mostrar hamburguesa */
  .mv-sidebar-toggle {
    display: inline-flex;
  }

  /* Topbar reordenado: hamburger + breadcrumb arriba, search en segunda fila */
  .mv-topbar {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
    padding: 12px 16px;
  }
  .mv-search {
    order: 3;
    flex-basis: 100%;
    margin: 0;
  }
  .mv-breadcrumb {
    flex: 1;
    min-width: 0;
  }
  .mv-topbar-actions {
    order: 2;
  }

  /* Admin bar fix para sidebar drawer */
  body.admin-bar .mv-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
  }
}

/* Móvil (≤600px) */
@media (max-width: 600px) {
  .mv-hero { padding: 36px 0 16px; }
  .mv-hero-title { font-size: 36px !important; }
  .mv-hero-cta { flex-direction: column; }
  .mv-hero-cta .mv-btn { width: 100%; justify-content: center; }
  .mv-stats { grid-template-columns: 1fr 1fr; }
  .mv-footer-grid { grid-template-columns: 1fr; }
  .mv-section { padding: 56px 0; }
  .mv-content { padding: 16px 14px 32px; }

  /* Header del sitio: logo + botones */
  .mv-nav { padding: 14px 16px; }
  .mv-nav-cta .mv-btn-ghost { display: none; } /* Solo dejar el CTA primary visible */

  /* CTA strip / signup form */
  .mv-cta-strip {
    padding: 28px 20px;
  }
  .mv-cta-strip h2 {
    font-size: 28px;
  }

  /* Topbar más compacto */
  .mv-topbar {
    padding: 10px 14px;
  }
  .mv-topbar-actions .mv-btn {
    padding: 0 12px;
    font-size: 13px;
  }
  .mv-topbar-actions .mv-btn svg {
    display: none; /* Solo texto del botón en móvil */
  }
}

/* Móvil pequeño (≤380px) */
@media (max-width: 380px) {
  .mv-hero-title { font-size: 30px !important; }
  .mv-stats { grid-template-columns: 1fr; }
  .mv-cta-strip h2 { font-size: 24px; }
}

/* ============================================================
   WORDPRESS CORE OVERRIDES
   ============================================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--mute); margin-top: 8px; text-align: center; }

/* Admin bar fix */
body.admin-bar .mv-nav { top: 32px; }
body.admin-bar .mv-sidebar { height: calc(100vh - 32px); top: 32px; }
body.admin-bar .mv-topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .mv-nav { top: 46px; }
  body.admin-bar .mv-sidebar { height: calc(100vh - 46px); top: 46px; }
  body.admin-bar .mv-topbar { top: 46px; }
}

/* ====================================================================
   MODAL LOGIN
   ==================================================================== */
.mv-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.2s ease-out;
	pointer-events: none;
}

.mv-modal[hidden] { display: none; }

.mv-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mv-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 22, 24, 0.5);
	backdrop-filter: blur(4px);
}

.mv-modal-panel {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 420px;
	padding: 36px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	transform: translateY(10px);
	transition: transform 0.2s ease-out;
}

/* Variante ancha: formularios de varias columnas (ej. Reportar envío) */
.mv-modal-panel--wide {
	max-width: 760px;
	max-height: 92vh;
	overflow-y: auto;
	padding: 24px 28px;
}
@media (max-width: 820px) {
	.mv-modal-panel--wide { max-width: calc(100vw - 32px); }
}
@media (max-width: 540px) {
	.mv-modal-panel--wide { padding: 24px 18px; }
}

/* Variante registro: una sola columna, cercana al login */
.mv-modal-panel--signup {
	max-width: 500px;
	max-height: 92vh;
	overflow-y: auto;
	padding: 24px 28px;
}
@media (max-width: 540px) {
	.mv-modal-panel--signup { max-width: 100%; padding: 24px 18px; }
}

/* (Footer fijo del modal retirado: las acciones quedan en el flujo del formulario) */

.mv-modal.is-open .mv-modal-panel {
	transform: translateY(0);
}

.mv-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: var(--slate);
	font-size: 22px;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.15s;
}

.mv-modal-close:hover { background: var(--canvas-soft); }

.mv-modal-brand {
	margin-bottom: 20px;
}

.mv-modal-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.mv-modal-meta {
	font-size: 13.5px;
	color: var(--slate);
	margin: 0 0 24px;
}

.mv-modal-error {
	background: #FEE2E2;
	border: 1px solid #FECACA;
	color: #991B1B;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}

.mv-modal-success {
	background: #DCFCE7;
	border: 1px solid #86EFAC;
	color: #15803D;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}

.mv-modal-field {
	display: block;
	margin-bottom: 14px;
}

.mv-modal-field > span {
	display: block;
	font-size: 12px;
	color: var(--ink-soft);
	margin-bottom: 6px;
	font-weight: 500;
}

.mv-modal-field input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.mv-modal-field input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(22, 82, 240, 0.1);
}

.mv-modal-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--ink-soft);
	margin: 4px 0 20px;
	cursor: pointer;
}

.mv-modal-checkbox input { margin: 0; }

.mv-modal-submit {
	width: 100%;
	justify-content: center;
}

.mv-modal-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.mv-modal-links {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
	font-size: 12.5px;
	color: var(--slate);
	flex-wrap: wrap;
}

.mv-modal-links a {
	color: var(--brand);
	text-decoration: none;
}

.mv-modal-links a:hover { text-decoration: underline; }

.mv-modal-divider { color: var(--mute); }

/* ====================================================================
   SIGNUP FORM (front-page CTA)
   ==================================================================== */
/* ====================================================================
   SIGNUP FORM (front-page CTA) — campos grandes y full-width
   ==================================================================== */

.mv-signup-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mv-signup-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

@media (max-width: 540px) {
	.mv-signup-row { grid-template-columns: 1fr; }
}

/* Base para TODOS los campos del signup — sobreescribe .mv-cta-input */
.mv-signup-form .mv-cta-input,
.mv-signup-form input.mv-cta-input,
.mv-signup-form select.mv-cta-input,
.mv-signup-form textarea.mv-cta-input {
	display: block;        /* fuerza bloque — sin esto los inputs no expanden */
	width: 100%;           /* llena el contenedor */
	min-width: 0;          /* evita overflow en grid */
	flex: none;            /* anula flex: 1 del estilo base */
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--ink);
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
	margin: 0;             /* reset any browser margin */
}

/* El textarea no tiene height fija */
.mv-signup-form textarea.mv-cta-input {
	height: auto;
	min-height: 90px;
	padding: 12px 16px;
	line-height: 1.6;
	resize: vertical;
}

/* Focus */
.mv-signup-form .mv-cta-input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(22, 82, 240, 0.12);
}

/* Select — flecha personalizada */
.mv-signup-form select.mv-cta-input {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%236b7280' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

/* Botón submit — ancho completo y más alto */
.mv-signup-form .mv-btn {
	width: 100%;
	justify-content: center;
	height: 50px;
	font-size: 15px;
}

/* ====================================================================
   MODAL LOGIN — responsive
   ==================================================================== */
@media (max-width: 600px) {
  .mv-modal {
    padding: 0;
    align-items: flex-end;
  }
  .mv-modal-panel {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    padding: 28px 22px;
    overflow-y: auto;
  }
  .mv-modal-title {
    font-size: 22px;
  }
  .mv-modal-brand {
    margin-bottom: 14px;
  }
  .mv-modal-field input {
    font-size: 16px; /* iOS no zoom in if >=16 */
    height: 46px;
  }
  .mv-modal-links {
    font-size: 13px;
  }
}

/* ====================================================================
   SIGNUP FORM — responsive
   ==================================================================== */
@media (max-width: 600px) {
  .mv-signup-form .mv-cta-input {
    font-size: 16px; /* iOS no zoom */
  }
  .mv-cta-form-meta {
    font-size: 11px !important;
  }
}

/* ====================================================================
   v1.0.7 — FIXES DE OVERFLOW EN MÓVIL
   ==================================================================== */

/* Prevenir overflow horizontal global */
html, body {
	overflow-x: clip;
	max-width: 100%;
}

/* Contenedores principales jamás más anchos que el viewport */
.container,
.mv-app,
.mv-main,
.mv-section {
	max-width: 100%;
	min-width: 0;
}

/* Imágenes y videos siempre dentro de su contenedor */
img, svg, video, iframe {
	max-width: 100%;
	height: auto;
}

/* Word-break para evitar que palabras largas (URLs, emails, importadora names) rompan el layout */
.mv-empresa,
.mv-empresa-line,
.mv-producto,
.mv-producto-line,
.mv-hero-title,
.mv-section-title,
.mv-page-title,
.mv-card-title,
.mv-meta-text {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Sidebar drawer: nunca más ancho que el viewport */
@media (max-width: 960px) {
	.mv-sidebar {
		width: min(280px, 85vw) !important;
	}
}

/* Móvil ≤640px */
@media (max-width: 640px) {

	/* Hero: padding lateral correcto */
	.mv-hero { padding-left: 16px; padding-right: 16px; }

	/* Tablas dentro de previsualización del landing: scroll horizontal como fallback */
	.mv-dash-preview {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Sección de testimonios y features: padding lateral */
	.mv-features,
	.mv-steps,
	.mv-cta-strip,
	.mv-trust {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* CTA strip: card del signup form encajado dentro del viewport */
	.mv-cta-form {
		max-width: 100%;
		min-width: 0;
	}

	/* Form de signup: inputs respetan padding del card */
	.mv-signup-form,
	.mv-signup-row {
		max-width: 100%;
		min-width: 0;
	}
	.mv-signup-form .mv-cta-input {
		min-width: 0;
		max-width: 100%;
	}

	/* Topbar dashboard: si el breadcrumb tiene path largo, truncar con ellipsis */
	.mv-breadcrumb {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Botones del topbar: si tienen iconos + texto, ajustar */
	.mv-topbar-actions {
		flex-wrap: wrap;
		gap: 6px;
	}
	.mv-topbar-actions .mv-btn {
		padding: 0 10px;
		font-size: 12.5px;
		min-height: 36px;
	}

	/* Search box del topbar: en segunda fila full-width, asegurar que el input cabe */
	.mv-search {
		width: 100%;
		min-width: 0;
	}
	.mv-search input {
		min-width: 0;
		width: 100%;
		flex: 1;
	}
	.mv-kbd {
		display: none; /* la tecla "⏎" no es útil en touch */
	}

	/* Modal: panel ocupa ancho completo sin overflow */
	.mv-modal-panel {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	/* Footer: links no se desbordan */
	.mv-footer-grid {
		padding-left: 16px;
		padding-right: 16px;
	}
	.mv-footer-bottom {
		padding: 20px 16px;
	}

	/* Logo wordmark: ajustar si es muy ancho */
	.mv-logo-wordmark {
		max-width: 100%;
	}
}

/* Tiny phones ≤380px */
@media (max-width: 380px) {
	.mv-nav { padding: 12px 14px; }
	.mv-nav-cta .mv-btn-primary { padding: 0 14px; font-size: 12.5px; height: 38px; }
	.mv-hero-title { font-size: 28px !important; line-height: 1.15; }
	.mv-hero-meta { font-size: 14px; }
	.mv-section-title { font-size: 24px; }
}

/* ====================================================================
   v1.0.8 — FIXES ESPECÍFICOS SEGÚN CAPTURAS DE USUARIO
   ==================================================================== */

/* === Fix #1: Card "Detector de saturación" sale del borde === */
@media (max-width: 960px) {
	.mv-feature-hero {
		padding: 28px 20px !important;
		min-width: 0;
		max-width: 100%;
		grid-template-columns: 1fr !important;
	}
	.mv-feature-hero h3 {
		font-size: 26px;
	}
	.mv-feature-hero p {
		max-width: 100%;
	}
	.mv-sat-viz {
		padding: 14px;
		min-width: 0;
		overflow: hidden;
	}
	.mv-sv-row {
		grid-template-columns: 70px 1fr 44px;
		gap: 8px;
		font-size: 11.5px;
		min-width: 0;
	}
	.mv-sv-label {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 380px) {
	.mv-sv-row {
		grid-template-columns: 60px 1fr 38px;
	}
}

/* === Fix #3 + #4: Topbar fijo opaco + padding-top para no cubrir título === */
.mv-topbar {
	background: var(--paper) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	z-index: 90;
}

/* Sidebar z-index — debe ser MAYOR que el backdrop (99) en todas las pantallas */
.mv-sidebar {
	z-index: 150;
}
.mv-sidebar-backdrop {
	z-index: 140;
}

/* HTML scroll-padding para anclas y para que cuando se scrollee a algo
   no quede oculto detrás del topbar fijo */
html {
	scroll-padding-top: 80px;
}

/* Móvil: el topbar es alto (con search en segunda fila) — más buffer */
@media (max-width: 960px) {
	html {
		scroll-padding-top: 120px;
	}
	/* La cabecera del sitio (mv-nav) fija en móvil — solo en páginas que NO son dashboard.
	   En el dashboard, el topbar interno (.mv-topbar) maneja su propia stickyness */
	body:not(.page-template-page-dashboard) .mv-nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background: var(--paper);
		z-index: 80;
		border-bottom: 1px solid var(--line);
	}
	/* Compensar el body solo cuando el header del sitio es fixed */
	body:not(.page-template-page-dashboard) {
		padding-top: 62px;
	}
	body.admin-bar:not(.page-template-page-dashboard) {
		padding-top: 108px; /* 62 + 46 admin bar móvil */
	}
}

@media (max-width: 782px) {
	body.admin-bar:not(.page-template-page-dashboard) {
		padding-top: 108px;
	}
}

@media (min-width: 783px) and (max-width: 960px) {
	body.admin-bar:not(.page-template-page-dashboard) {
		padding-top: 94px; /* 62 + 32 admin bar desktop */
	}
}

/* En desktop la nav ya no necesita ser fija (no es bloqueo), pero hacemos sticky */
@media (min-width: 961px) {
	.mv-nav {
		position: sticky;
		top: 0;
		background: var(--paper);
		z-index: 80;
		border-bottom: 1px solid var(--line);
	}
}

/* Page header: padding-top suficiente para que el título no quede pegado */
@media (max-width: 960px) {
	.mv-page-header {
		padding-top: 8px;
		margin-bottom: 20px;
	}
}

/* ====================================================================
   v1.0.10 — FIX AGRESIVO "Datos que no existen" overflow
   El bug: .mv-feature-hero tiene grid-column: span 6 que en grid de 1 col
   intenta abarcar 6 columnas → desborda. Solución: layout block puro en
   móvil/tablet, sin span ni grid.
   ==================================================================== */

@media (max-width: 960px) {
	.mv-features {
		display: block !important;
		gap: 0 !important;
	}
	.mv-feature,
	.mv-feature-hero,
	.mv-feature.span-2,
	.mv-feature.span-3,
	.mv-feature.span-4 {
		display: block !important;
		grid-column: unset !important;
		grid-template-columns: unset !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		margin-bottom: 16px !important;
	}
	.mv-feature-hero {
		padding: 28px 20px !important;
	}
	.mv-feature-hero > * {
		max-width: 100%;
		min-width: 0;
	}
	.mv-feature-hero p {
		max-width: 100% !important;
	}
	.mv-sat-viz {
		max-width: 100%;
		overflow: hidden;
		padding: 14px !important;
		margin-top: 16px;
	}
	.mv-sv-row {
		grid-template-columns: 70px 1fr 44px !important;
		gap: 8px !important;
		font-size: 11.5px !important;
		min-width: 0;
	}
	.mv-sv-label {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		min-width: 0;
	}
	.mv-sv-track {
		min-width: 0;
	}
}

@media (max-width: 380px) {
	.mv-sv-row {
		grid-template-columns: 56px 1fr 36px !important;
		font-size: 10.5px !important;
	}
}

/* ====================================================================
   v1.0.11 — FIXES SEGÚN CAPTURAS
   ==================================================================== */

/* === Fix sidebar drawer: espacio vacío arriba en móvil === */
@media (max-width: 960px) {
	.mv-sidebar {
		position: fixed !important;
		top: 0 !important;
		left: 0;
		bottom: 0;
		height: 100vh !important;
		z-index: 150;
	}
	body.admin-bar .mv-sidebar {
		top: 46px !important;
		height: calc(100vh - 46px) !important;
	}
	/* Brand más compacto y sin espacio vacío arriba */
	.mv-sidebar-brand {
		height: 50px !important;
		flex-shrink: 0;
		padding: 10px 18px !important;
	}
	.mv-sidebar-brand .mv-logo-wordmark,
	.mv-sidebar-brand img {
		max-height: 30px;
		width: auto;
	}
	/* La organización card más cerca del brand */
	.mv-org-card {
		margin: 10px 14px !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar .mv-sidebar {
		top: 46px !important;
		height: calc(100vh - 46px) !important;
	}
}

@media (min-width: 783px) and (max-width: 960px) {
	body.admin-bar .mv-sidebar {
		top: 32px !important;
		height: calc(100vh - 32px) !important;
	}
}

/* ====================================================================
   v1.0.13 — Header compacto móvil + padding topbar search
   ==================================================================== */

/* === Fix 1: Más padding vertical entre search del topbar y el header ===
   En móvil el topbar tiene 2 filas (row1: hamburger+breadcrumb+botón, row2: search).
   Damos más respiro entre filas. */
@media (max-width: 960px) {
	.mv-topbar {
		padding: 10px 14px 10px !important;
		gap: 10px;
		height: auto !important;
		flex-wrap: wrap;
	}
	.mv-search {
		order: 3;
		flex-basis: 100%;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-top: 4px;    /* espaciado entre fila 1 y el buscador */
		margin-bottom: 4px; /* mismo margen abajo */
	}
	.mv-search input {
		height: 38px; /* input ligeramente más alto en móvil, más fácil de tocar */
		font-size: 14px;
		border-radius: 10px;
	}
	.mv-breadcrumb { flex: 1; min-width: 0; }
	.mv-topbar-actions { order: 2; flex-shrink: 0; }
}

/* === Fix 2: Header más compacto en móvil + logo más pequeño === */
@media (max-width: 960px) {
	.mv-nav-inner {
		height: 52px !important; /* era 64px */
		padding: 0 16px;
	}
	.mv-logo {
		font-size: 14px !important; /* wordmark más pequeño */
		gap: 7px;
	}
	.mv-logo-mark {
		width: 24px !important;
		height: 24px !important;
		font-size: 13px !important;
		border-radius: 6px !important;
	}
	/* Wordmark SVG/texto escala con el contenedor */
	.mv-wordmark {
		font-size: 14px;
	}
	.mv-wordmark-wave {
		height: 3px;
	}
	/* Compensar body padding para el header más bajo */
	body:not(.page-template-page-dashboard) {
		padding-top: 53px; /* 52px header + 1px border */
	}
	body.admin-bar:not(.page-template-page-dashboard) {
		padding-top: 99px; /* 53 + 46 admin bar móvil */
	}
}

@media (max-width: 380px) {
	.mv-nav-inner {
		height: 48px !important;
		padding: 0 12px;
	}
	.mv-logo {
		font-size: 13px !important;
	}
	body:not(.page-template-page-dashboard) {
		padding-top: 49px;
	}
}

/* Desktop: sin cambio en tamaño del header */
@media (min-width: 961px) {
	.mv-nav-inner {
		height: 64px;
	}
}

/* ====================================================================
   v1.0.14 — FIXES: header compacto + badge mobile + buscador catálogo
   ==================================================================== */

/* === Fix #2: Header más compacto en móvil === */
@media (max-width: 960px) {

	/* Nav inner más bajo */
	.mv-nav-inner {
		height: 48px !important;
		padding: 0 14px !important;
	}

	/* Logo más pequeño */
	.mv-logo {
		font-size: 13px !important;
		gap: 6px !important;
	}
	.mv-logo-mark {
		width: 22px !important;
		height: 22px !important;
		font-size: 12px !important;
		border-radius: 5px !important;
	}
	/* Wordmark SVG comprimido */
	.mv-wordmark {
		font-size: 13px !important;
	}
	.mv-wordmark-wave {
		height: 2px !important;
		bottom: 0 !important;
	}

	/* Botón CTA del header más compacto */
	.mv-nav-cta .mv-btn {
		height: 34px !important;
		padding: 0 14px !important;
		font-size: 13px !important;
		border-radius: 7px !important;
	}

	/* Compensación del body para el header más bajo */
	body:not(.page-template-page-dashboard) {
		padding-top: 49px !important; /* 48px header + 1px border */
	}
	body.admin-bar:not(.page-template-page-dashboard) {
		padding-top: 95px !important; /* 49 + 46 admin bar móvil */
	}
}

@media (max-width: 380px) {
	.mv-nav-inner {
		height: 44px !important;
		padding: 0 12px !important;
	}
	.mv-logo { font-size: 12px !important; }
	.mv-nav-cta .mv-btn {
		height: 32px !important;
		padding: 0 12px !important;
		font-size: 12px !important;
	}
	body:not(.page-template-page-dashboard) {
		padding-top: 45px !important;
	}
}

/* === Fix #3: Badge "Plataforma B2B activa" mejor en móvil === */

/* Por defecto: mostrar texto completo, ocultar el corto */
.mv-badge-text-short { display: none; }
.mv-badge-text-full  { display: inline; }

/* Badge: evitar wrapping siempre */
.mv-badge {
	white-space: nowrap;
	flex-shrink: 0;
}

/* En móvil estrecho: mostrar texto corto, ocultar el largo */
@media (max-width: 520px) {
	.mv-badge-text-full  { display: none; }
	.mv-badge-text-short { display: inline; }
	.mv-badge {
		font-size: 12px;
		padding: 5px 10px 5px 7px;
		margin-bottom: 20px;
	}
}

/* ====================================================================
   v1.0.15 — FIXES finales según captura
   ==================================================================== */

/* === Fix #2 (PRIMERO): Header con padding extra que sumaba altura ===
   Las reglas viejas `.mv-nav { padding: 14px 16px }` agregaban ~28px verticales
   encima del `.mv-nav-inner { height: 48px }`. Total ~76px. Anulo ese padding
   y dejo que la altura la maneje exclusivamente .mv-nav-inner. */
@media (max-width: 960px) {
	.mv-nav {
		padding: 0 !important;
	}
	.mv-nav-inner {
		height: 48px !important;
		padding: 0 14px !important;
	}
}

@media (max-width: 600px) {
	.mv-nav {
		padding: 0 !important;
	}
}

@media (max-width: 380px) {
	.mv-nav-inner {
		height: 44px !important;
		padding: 0 12px !important;
	}
}

/* === Fix #1: Tamaño del título del hero === */
@media (max-width: 600px) {
	.mv-hero h1 {
		font-size: clamp(28px, 8vw, 36px) !important;
		line-height: 1.08;
		letter-spacing: -0.02em;
	}
}

@media (max-width: 380px) {
	.mv-hero h1 {
		font-size: 26px !important;
	}
}

/* === Fix #3: Preview card "mercavisor.com / panel / manifiesto" === */

/* URL bar del mockup del browser: texto compactado y sin wrap raro */
@media (max-width: 600px) {
	.mv-preview-url {
		font-size: 10px !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: calc(100% - 60px);
	}

	/* El título "Manifiesto del mercado · últimos 30 días" del mockup
	   se rompe en 3 líneas porque las palabras son largas. Lo compacto. */
	.mv-dash-toolbar h3 {
		font-size: 16px !important;
		line-height: 1.2;
	}
	.mv-dash-toolbar h3 span {
		display: block;
		font-size: 13px !important;
		color: var(--mute);
		margin-top: 2px;
	}

	/* El botón "Reportar envío" del mockup también compacto */
	.mv-dash-toolbar .mv-btn {
		font-size: 11px !important;
		height: 28px !important;
		padding: 0 10px !important;
		white-space: nowrap;
	}

	.mv-dash-toolbar {
		gap: 10px;
		flex-wrap: wrap;
	}
}

/* ====================================================================
   v1.0.19 — Página de documentación
   ==================================================================== */

.mv-docs-wrapper {
	background: var(--canvas-soft, #F7F8FA);
	min-height: calc(100vh - 200px);
	padding: 40px 0 80px;
}

.mv-docs-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 56px;
	align-items: start;
}

/* ============ SIDEBAR NAV ============ */
.mv-docs-sidebar {
	position: sticky;
	top: 88px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding-right: 8px;
}

.mv-docs-toc-toggle {
	display: none;
	width: 100%;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: var(--canvas);
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	font-family: inherit;
	margin-bottom: 12px;
}
.mv-docs-toc-toggle > span { flex: 1; text-align: left; }
.mv-docs-toc-chevron { transition: transform .2s ease; }
.mv-docs-toc-toggle[aria-expanded="true"] .mv-docs-toc-chevron { transform: rotate(180deg); }

.mv-docs-nav {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.mv-docs-nav-group { display: flex; flex-direction: column; gap: 6px; }
.mv-docs-nav-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--mute);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin: 0 0 6px;
	padding: 0 12px;
}
.mv-docs-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.mv-docs-nav li { margin: 0; }
.mv-docs-nav a {
	display: block;
	padding: 7px 12px;
	font-size: 13.5px;
	color: var(--slate);
	text-decoration: none;
	border-radius: 6px;
	border-left: 2px solid transparent;
	line-height: 1.4;
	transition: background .15s ease, color .15s ease;
}
.mv-docs-nav a:hover {
	background: var(--canvas);
	color: var(--ink);
}
.mv-docs-nav a.is-active {
	background: var(--canvas);
	color: var(--ink);
	border-left-color: var(--brand);
	font-weight: 500;
}

/* ============ CONTENT ============ */
.mv-docs-content {
	background: var(--canvas);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 48px 56px;
	max-width: 760px;
	min-width: 0; /* permite que el track del grid se encoja en móvil */
	overflow-wrap: anywhere;
	overflow-x: clip; /* corta cualquier desborde horizontal residual sin scroll vertical extra */
}
.mv-docs-content section p,
.mv-docs-content section li,
.mv-docs-content section h2,
.mv-docs-content section h3 { overflow-wrap: anywhere; }
/* URLs / tokens largos en code en línea: que envuelvan en vez de ensanchar la página */
.mv-docs-content section code { overflow-wrap: anywhere; word-break: break-word; }
.mv-docs-content img { max-width: 100%; height: auto; }

.mv-docs-header {
	border-bottom: 1px solid var(--line);
	padding-bottom: 28px;
	margin-bottom: 36px;
}
.mv-docs-eyebrow {
	font-size: 12px;
	color: var(--brand);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}
.mv-docs-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 14px;
}
.mv-docs-lede {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--slate);
	margin: 0;
}

.mv-docs-content section {
	padding-top: 8px;
	margin-bottom: 48px;
	scroll-margin-top: 88px; /* compensar header sticky */
}
.mv-docs-code {
	background: #0f172a;
	color: #e2e8f0;
	padding: 16px 18px;
	border-radius: 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.6;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-wrap: anywhere;
	margin: 12px 0 20px;
	-webkit-overflow-scrolling: touch;
}
.mv-docs-content section code {
	background: #f1f5f9;
	color: #0f172a;
	padding: 2px 6px;
	border-radius: 5px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
}
.mv-docs-code code { background: none; color: inherit; padding: 0; }
.mv-docs-content section h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.25;
	color: var(--ink);
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}
.mv-docs-content section h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	margin: 24px 0 10px;
}
.mv-docs-content section p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 14px;
}
.mv-docs-content section ul,
.mv-docs-content section ol {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 16px;
	padding-left: 22px;
}
.mv-docs-content section li { margin-bottom: 6px; }
.mv-docs-content section strong { color: var(--ink); font-weight: 600; }
.mv-docs-content section em { color: var(--slate); }
.mv-docs-content section a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mv-docs-content section a:hover { color: var(--ink); }

.mv-docs-callout {
	background: #FFF8E6;
	border-left: 3px solid #F59E0B;
	padding: 14px 18px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.6;
	color: #78350F;
	margin: 18px 0;
}
.mv-docs-callout strong { color: #78350F; }

.mv-docs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0 22px;
	font-size: 13.5px;
	background: var(--canvas);
}
.mv-docs-table th,
.mv-docs-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.mv-docs-table th {
	background: var(--canvas-soft, #F7F8FA);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--slate);
}
.mv-docs-table tbody tr:hover { background: var(--canvas-soft, #FAFBFC); }

.mv-docs-footer {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
	.mv-docs-wrapper { padding: 24px 0 60px; }
	.mv-docs-container {
		display: block;          /* sin grid en móvil: el bloque no se estira por el contenido */
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 0 16px;
	}
	.mv-docs-container > .mv-docs-sidebar { margin-bottom: 16px; }
	.mv-docs-container > .mv-docs-content { width: 100%; max-width: 100%; }
	.mv-docs-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}
	.mv-docs-toc-toggle { display: flex; }
	.mv-docs-nav {
		display: none;
		background: var(--canvas);
		border: 1px solid var(--line);
		border-radius: 10px;
		padding: 16px;
		gap: 18px;
	}
	.mv-docs-nav.is-open { display: flex; }

	.mv-docs-content {
		padding: 28px 22px;
		border-radius: 10px;
	}
	.mv-docs-header {
		padding-bottom: 20px;
		margin-bottom: 26px;
	}
	.mv-docs-content section { margin-bottom: 36px; }
	.mv-docs-content section h2 { font-size: 22px; }

	.mv-docs-table {
		display: block;
		overflow-x: auto;
		max-width: 100%;
		word-break: break-word;
	}
}

@media (max-width: 480px) {
	.mv-docs-content { padding: 22px 18px; }
	.mv-docs-title { font-size: 24px; }
	.mv-docs-content section p,
	.mv-docs-content section ul,
	.mv-docs-content section ol { font-size: 14.5px; }
}

/* ====================================================================
   v1.0.20 — Optimizaciones documentación para pantallas pequeñas
   ==================================================================== */

/* ============ TABLET (≤900px) ============ */
@media (max-width: 900px) {
	.mv-docs-wrapper {
		padding: 16px 0 48px;
	}
	.mv-docs-container {
		padding: 0 14px;
		gap: 12px;
	}

	/* TOC toggle sticky en móvil */
	.mv-docs-sidebar {
		position: sticky;
		top: 60px; /* compensa header del tema en móvil */
		z-index: 30;
		background: var(--canvas-soft, #F7F8FA);
		padding: 8px 0;
		margin: -8px 0 8px;
	}
	.mv-docs-toc-toggle {
		display: flex;
		margin-bottom: 0;
		box-shadow: 0 1px 3px rgba(0,0,0,0.04);
		transition: box-shadow .2s ease;
	}
	.mv-docs-toc-toggle.is-floating {
		box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	}

	/* Nav expandido: panel absoluto, no empuja el contenido */
	.mv-docs-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin-top: 4px;
		max-height: 65vh;
		overflow-y: auto;
		box-shadow: 0 8px 24px rgba(0,0,0,0.10);
		z-index: 40;
		padding: 14px;
		gap: 14px;
	}
	.mv-docs-nav-group { gap: 4px; }
	.mv-docs-nav-label {
		font-size: 10.5px;
		margin: 0 0 4px;
		padding: 0 10px;
	}
	.mv-docs-nav a {
		padding: 8px 10px;
		font-size: 13px;
	}
}

/* ============ MOBILE (≤640px) ============ */
@media (max-width: 640px) {
	.mv-docs-wrapper { padding: 12px 0 40px; }
	.mv-docs-container { padding: 0 12px; }

	.mv-docs-content {
		padding: 22px 18px;
		border-radius: 10px;
	}
	.mv-docs-header {
		padding-bottom: 16px;
		margin-bottom: 22px;
	}
	.mv-docs-eyebrow {
		font-size: 11px;
		letter-spacing: 0.8px;
	}
	.mv-docs-title { font-size: 24px; line-height: 1.2; }
	.mv-docs-lede { font-size: 14.5px; line-height: 1.55; }

	.mv-docs-content section {
		margin-bottom: 32px;
		scroll-margin-top: 110px; /* compensa toc sticky */
	}
	.mv-docs-content section h2 {
		font-size: 21px;
		margin: 0 0 14px;
	}
	.mv-docs-content section h3 {
		font-size: 15px;
		margin: 18px 0 8px;
	}
	.mv-docs-content section p,
	.mv-docs-content section ul,
	.mv-docs-content section ol {
		font-size: 14.5px;
		line-height: 1.6;
		margin: 0 0 12px;
	}
	.mv-docs-content section ul,
	.mv-docs-content section ol {
		padding-left: 18px;
	}
	.mv-docs-content section li { margin-bottom: 4px; }

	.mv-docs-callout {
		padding: 11px 14px;
		font-size: 13.5px;
		line-height: 1.5;
		margin: 14px 0;
	}

	/* === Tabla de roles convertida a cards en móvil === */
	.mv-docs-table,
	.mv-docs-table thead,
	.mv-docs-table tbody,
	.mv-docs-table tr,
	.mv-docs-table th,
	.mv-docs-table td {
		display: block;
		width: 100%;
		white-space: normal;
	}
	.mv-docs-table { background: transparent; margin: 14px 0 20px; }
	.mv-docs-table thead { display: none; } /* ocultar headers, usar data-label en su lugar */
	.mv-docs-table tbody tr {
		background: var(--canvas);
		border: 1px solid var(--line);
		border-radius: 8px;
		padding: 12px 14px;
		margin-bottom: 10px;
	}
	.mv-docs-table tbody tr:hover { background: var(--canvas); }
	.mv-docs-table td {
		border-bottom: 1px solid var(--line-soft, #F0F1F4);
		padding: 6px 0;
		font-size: 13.5px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
	}
	.mv-docs-table td:last-child { border-bottom: 0; }
	.mv-docs-table td::before {
		content: attr(data-label);
		font-size: 11.5px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.4px;
		color: var(--mute);
		flex-shrink: 0;
	}
	/* Primera celda (Rol) sin separación lateral, ocupa toda la línea */
	.mv-docs-table td[data-label="Rol"] {
		display: block;
		padding-bottom: 10px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--line);
	}
	.mv-docs-table td[data-label="Rol"]::before { display: none; }
	.mv-docs-table td[data-label="Rol"] strong {
		font-size: 14px;
		color: var(--ink);
	}

	.mv-docs-footer {
		margin-top: 36px;
		padding-top: 18px;
	}
}

/* ============ TINY MOBILE (≤380px) ============ */
@media (max-width: 380px) {
	.mv-docs-content { padding: 18px 14px; }
	.mv-docs-title { font-size: 22px; }
	.mv-docs-content section h2 { font-size: 19px; }
	.mv-docs-content section p,
	.mv-docs-content section ul,
	.mv-docs-content section ol { font-size: 14px; }
	.mv-docs-toc-toggle {
		padding: 10px 12px;
		font-size: 13px;
	}
}

/* ============ Botón flotante volver arriba ============ */
.mv-docs-totop {
	position: fixed;
	bottom: 20px;
	right: 16px;
	z-index: 60;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--canvas);
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.mv-docs-totop.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.mv-docs-totop:hover { background: var(--brand, #1652F0); }
.mv-docs-totop:active { transform: translateY(2px); }

@media (min-width: 901px) {
	.mv-docs-totop { display: none !important; }
}

/* ====================================================================
   v1.0.21 — Fix gap entre header y TOC en docs móvil
   ==================================================================== */

@media (max-width: 900px) {
	.mv-docs-sidebar {
		position: sticky;
		top: 48px !important;       /* exactamente debajo del header del tema */
		padding: 6px 0 8px !important;
		margin: -8px 0 12px !important;
		background: rgba(247, 248, 250, 0.92);
		backdrop-filter: saturate(180%) blur(12px);
		-webkit-backdrop-filter: saturate(180%) blur(12px);
		z-index: 30;
	}
	/* Reforzar opacidad del fondo del toggle para que no se vea contenido detrás */
	.mv-docs-toc-toggle {
		background: var(--canvas) !important;
	}
}

@media (max-width: 380px) {
	.mv-docs-sidebar {
		top: 44px !important; /* header más pequeño en pantallas tiny (≤380px) */
	}
}

/* En body.admin-bar (admins logueados en desktop con admin bar), compensar */
body.admin-bar .mv-docs-sidebar {
	top: 80px; /* 32px admin bar + 48px header */
}
@media (max-width: 782px) {
	body.admin-bar .mv-docs-sidebar {
		top: 94px; /* 46px admin bar móvil + 48px header */
	}
}

/* ====================================================================
   v1.0.22 — CTA box para waitlist (API · Próximamente)
   ==================================================================== */

.mv-docs-cta-box {
	background: linear-gradient(135deg, #0F1834 0%, #1A2645 100%);
	border-radius: 12px;
	padding: 24px 28px;
	margin: 28px 0 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #fff;
}

.mv-docs-cta-content { flex: 1; min-width: 0; }

.mv-docs-cta-content h4 {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 6px;
}

.mv-docs-cta-content p {
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

.mv-docs-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 18px;
	background: #fff;
	color: #0F1834 !important;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
	flex-shrink: 0;
}
.mv-docs-cta-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	color: #0F1834 !important;
}

@media (max-width: 640px) {
	.mv-docs-cta-box {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 18px;
		gap: 14px;
		margin: 22px 0 10px;
	}
	.mv-docs-cta-content h4 { font-size: 15.5px; }
	.mv-docs-cta-content p { font-size: 13px; }
	.mv-docs-cta-btn {
		justify-content: center;
		text-align: center;
		padding: 12px 16px;
	}
}

/* ====================================================================
   v1.0.23 — Fix contraste texto CTA box (era invisible)
   ==================================================================== */

/* Override de .mv-docs-content section p { color: var(--ink) } */
.mv-docs-content section .mv-docs-cta-box h4,
.mv-docs-content section .mv-docs-cta-content h4 {
	color: #fff !important;
}

.mv-docs-content section .mv-docs-cta-box p,
.mv-docs-content section .mv-docs-cta-content p {
	color: rgba(255, 255, 255, 0.85) !important;
}

/* También links si los hubiera dentro */
.mv-docs-content section .mv-docs-cta-box a:not(.mv-docs-cta-btn) {
	color: #fff !important;
	text-decoration: underline;
}

/* ====================================================================
   v1.0.25 — Páginas Contacto + Acerca de
   ==================================================================== */

/* ============ CONTACTO ============ */
.mv-contact-wrapper {
	padding: 64px 0 96px;
	background: var(--canvas-soft, #F7F8FA);
	min-height: calc(100vh - 200px);
}
.mv-contact-container { max-width: 1080px; }

.mv-contact-header {
	max-width: 720px;
	margin: 0 auto 56px;
	text-align: center;
}
.mv-contact-eyebrow {
	font-size: 12px;
	color: var(--brand);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 14px;
}
.mv-contact-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	color: var(--ink);
	margin: 0 0 16px;
}
.mv-contact-lede {
	font-size: 17px;
	line-height: 1.6;
	color: var(--slate);
	margin: 0;
}

.mv-contact-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 56px;
	align-items: start;
}

.mv-contact-info {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.mv-contact-info-block { display: flex; flex-direction: column; gap: 4px; }
.mv-contact-info-label {
	font-size: 11px;
	color: var(--mute);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.mv-contact-info-value {
	font-size: 14.5px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
}
.mv-contact-info-value:hover { color: var(--brand); }

.mv-contact-form {
	background: var(--canvas);
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.mv-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mv-contact-field { display: flex; flex-direction: column; gap: 6px; }
.mv-contact-field > span {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
}
.mv-contact-field input,
.mv-contact-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--canvas);
	font-size: 14px;
	font-family: inherit;
	color: var(--ink);
	transition: border-color .15s ease;
}
.mv-contact-field input:focus,
.mv-contact-field textarea:focus {
	outline: none;
	border-color: var(--ink);
}
.mv-contact-field textarea { resize: vertical; min-height: 140px; }

.mv-contact-submit {
	margin-top: 6px;
	padding: 13px 22px;
	background: var(--ink);
	color: var(--canvas);
	border: 0;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
	font-family: inherit;
}
.mv-contact-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.mv-contact-flash {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.5;
}
.mv-contact-flash-success { background: #ECFDF5; color: #065F46; border-left: 3px solid #10B981; }
.mv-contact-flash-error   { background: #FEF2F2; color: #991B1B; border-left: 3px solid #EF4444; }

@media (max-width: 800px) {
	.mv-contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.mv-contact-row { grid-template-columns: 1fr; }
	.mv-contact-form { padding: 24px 20px; }
	.mv-contact-wrapper { padding: 32px 0 60px; }
}

/* ============ ACERCA DE ============ */

.mv-about-hero {
	padding: 96px 0 80px;
	background: var(--canvas-soft, #F7F8FA);
	text-align: center;
}
.mv-about-eyebrow {
	font-size: 12px;
	color: var(--brand);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin-bottom: 18px;
}
.mv-about-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.02;
	color: var(--ink);
	letter-spacing: -0.025em;
	margin: 0 0 22px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.mv-about-title em {
	font-style: italic;
	color: var(--brand);
	display: block;
}
.mv-about-lede {
	font-size: 19px;
	line-height: 1.55;
	color: var(--slate);
	max-width: 720px;
	margin: 0 auto;
}

.mv-about-mission {
	padding: 80px 0;
	background: var(--ink);
}
.mv-about-quote {
	max-width: 880px;
	margin: 0 auto;
	color: rgba(255,255,255,0.92);
}
.mv-about-quote svg {
	color: var(--brand);
	margin-bottom: 24px;
	opacity: 0.6;
}
.mv-about-quote p {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.4;
	margin: 0;
	color: #fff;
}

.mv-about-pillars {
	padding: 96px 0;
	background: var(--canvas);
}
.mv-about-section-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 32px;
	color: var(--ink);
	margin: 0 0 48px;
	text-align: center;
	letter-spacing: -0.01em;
}
.mv-about-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 1080px;
	margin: 0 auto;
}
.mv-about-pillar {
	padding: 32px 28px;
	background: var(--canvas-soft, #F7F8FA);
	border-radius: 14px;
	border: 1px solid var(--line);
}
.mv-about-pillar-num {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--brand);
	letter-spacing: 1.2px;
	margin-bottom: 16px;
}
.mv-about-pillar h3 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.25;
	color: var(--ink);
	margin: 0 0 12px;
}
.mv-about-pillar p {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--slate);
	margin: 0;
}

.mv-about-stats {
	padding: 80px 0;
	background: var(--canvas-soft, #F7F8FA);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.mv-about-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
}
.mv-about-stat-num {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(48px, 7vw, 88px);
	color: var(--ink);
	line-height: 1;
	margin-bottom: 8px;
	letter-spacing: -0.03em;
}
.mv-about-stat-label {
	font-size: 14px;
	color: var(--slate);
	line-height: 1.5;
}

.mv-about-vision {
	padding: 96px 0;
	background: var(--canvas);
}
.mv-about-vision-inner {
	max-width: 760px;
	margin: 0 auto;
}
.mv-about-vision h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 36px;
	color: var(--ink);
	margin: 0 0 28px;
	letter-spacing: -0.01em;
}
.mv-about-vision p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	margin: 0 0 18px;
}
.mv-about-vision p:last-child {
	font-style: italic;
	color: var(--slate);
}

.mv-about-cta {
	padding: 80px 0;
	background: linear-gradient(135deg, #0F1834 0%, #1A2645 100%);
	text-align: center;
}
.mv-about-cta-inner { max-width: 720px; margin: 0 auto; }
.mv-about-cta h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(28px, 4vw, 42px);
	color: #fff;
	margin: 0 0 28px;
	line-height: 1.15;
}
.mv-about-cta-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.mv-about-cta .mv-btn-ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.3);
}
.mv-about-cta .mv-btn-ghost:hover {
	background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
	.mv-about-hero { padding: 56px 0 48px; }
	.mv-about-mission { padding: 56px 0; }
	.mv-about-pillars { padding: 56px 0; }
	.mv-about-stats { padding: 48px 0; }
	.mv-about-vision { padding: 56px 0; }
	.mv-about-cta { padding: 56px 0; }
	.mv-about-pillars-grid,
	.mv-about-stats-grid { grid-template-columns: 1fr; gap: 22px; }
	.mv-about-section-title { font-size: 26px; margin-bottom: 32px; }
	.mv-about-vision h2 { font-size: 28px; }
	.mv-about-pillar { padding: 24px 22px; }
}


/* ====================================================================
   v1.0.28 — Acerca de: métricas animadas + gráficos modernos
   ==================================================================== */

/* Métricas del hero */
.mv-about-hero-metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid rgba(255,255,255,0.12);
}
.mv-about-hm-num {
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.mv-about-hm-label {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(255,255,255,0.6);
	line-height: 1.4;
}

/* Sección gráficos */
.mv-about-charts {
	padding: 80px 0;
	background: var(--canvas-soft, #f8fafc);
}
.mv-about-charts-sub {
	text-align: center;
	max-width: 620px;
	margin: -8px auto 44px;
	color: var(--slate, #64748b);
	font-size: 14.5px;
	line-height: 1.6;
}
.mv-about-charts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	max-width: 940px;
	margin: 0 auto;
}
.mv-about-chart-card {
	background: var(--canvas, #fff);
	border: 1px solid var(--line, #e8ebf0);
	border-radius: 18px;
	padding: 24px 26px;
	box-shadow: 0 2px 16px rgba(16,24,64,0.05);
}
.mv-about-chart-card--wide { grid-column: 1 / -1; }

.mv-about-chart-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 10px;
}
.mv-about-chart-head h3 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	color: var(--ink, #0f172a);
}
.mv-about-chart-tag {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--brand, #1652F0);
	background: var(--brand-soft, #eef2ff);
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

/* Barras */
.mv-about-bars { display: flex; flex-direction: column; gap: 13px; }
.mv-about-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.mv-about-bar-label {
	width: 104px; flex-shrink: 0; white-space: nowrap; overflow: hidden;
	text-overflow: ellipsis; color: var(--ink-soft, #334155); font-weight: 500;
}
.mv-about-bar-track {
	flex: 1; height: 10px; background: var(--canvas-soft, #f1f5f9);
	border-radius: 999px; overflow: hidden;
}
.mv-about-bar-fill {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, #1652F0, #6b8cff);
	border-radius: 999px;
	animation: mvAboutBarGrow 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes mvAboutBarGrow { to { width: var(--target-w, 100%); } }
.mv-about-bar-val {
	width: 46px; text-align: right; flex-shrink: 0; font-weight: 700;
	color: var(--ink, #0f172a); font-variant-numeric: tabular-nums;
}

/* Línea / área con curva suave */
.mv-about-line-wrap { width: 100%; }
.mv-about-line { width: 100%; height: auto; display: block; }
.mv-about-line-stroke {
	stroke-dasharray: 1200; stroke-dashoffset: 1200;
	animation: mvAboutLineDraw 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes mvAboutLineDraw { to { stroke-dashoffset: 0; } }
.mv-about-line-dot { opacity: 0; animation: mvAboutDotFade 0.4s ease forwards 1.3s; }
@keyframes mvAboutDotFade { to { opacity: 1; } }
.mv-about-line-labels {
	display: flex; justify-content: space-between; margin-top: 10px; padding: 0 8px;
	font-size: 11.5px; color: var(--mute, #94a3b8); text-transform: capitalize;
}

/* Donut */
.mv-about-donut-wrap { display: flex; align-items: center; gap: 22px; }
.mv-about-donut { width: 140px; height: 140px; flex-shrink: 0; }
.mv-about-donut-seg {
	stroke-linecap: round;
}
.mv-about-donut {
	opacity: 0;
	transform: scale(0.85);
	transform-origin: center;
	animation: mvAboutDonutIn 0.7s cubic-bezier(0.22,1,0.36,1) forwards 0.15s;
}
@keyframes mvAboutDonutIn {
	to { opacity: 1; transform: scale(1); }
}
.mv-about-donut-total, .mv-about-donut-cap { opacity: 0; animation: mvAboutDotFade 0.4s ease forwards 0.7s; }
.mv-about-donut-total {
	font-size: 26px; font-weight: 800; fill: var(--ink, #0f172a);
	font-variant-numeric: tabular-nums;
}
.mv-about-donut-cap { font-size: 11px; fill: var(--mute, #94a3b8); text-transform: uppercase; letter-spacing: 0.5px; }
.mv-about-donut-legend { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.mv-about-legend-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.mv-about-legend-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.mv-about-legend-name {
	flex: 1; min-width: 0; white-space: nowrap; overflow: hidden;
	text-overflow: ellipsis; color: var(--ink-soft, #334155);
}
.mv-about-legend-pct { font-weight: 700; color: var(--ink, #0f172a); font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 768px) {
	.mv-about-hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; margin-top: 36px; padding-top: 32px; }
	.mv-about-hm-num { font-size: 32px; }
	.mv-about-charts { padding: 52px 0; }
	.mv-about-charts-grid { grid-template-columns: 1fr; gap: 16px; }
	.mv-about-chart-card { padding: 20px; border-radius: 14px; }
}
@media (max-width: 480px) {
	.mv-about-hm-num { font-size: 28px; }
	.mv-about-bar-label { width: 88px; font-size: 12px; }
	.mv-about-bar-val { width: 40px; }
	/* Donut: apilar gráfico arriba, leyenda abajo */
	.mv-about-donut-wrap { flex-direction: column; gap: 16px; }
	.mv-about-donut { width: 130px; height: 130px; }
	.mv-about-donut-legend { width: 100%; }
	.mv-about-line-labels { font-size: 10.5px; padding: 0 4px; }
}
