/*
Theme Name:   Markmelo Child
Theme URI:    https://markmelo.com
Description:  Child theme de Astra para markmelo.com — regalos corporativos B2B Colombia
Author:       Markmelo
Author URI:   https://markmelo.com
Template:     astra
Version:      1.6.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  markmelo-child
Tags:         b2b, corporate, colombia, merchandising
*/

/* ==========================================================================
   SISTEMA DE DISEÑO MARKMELO
   Paleta: Azul Medianoche (confianza B2B) + Naranja Vibrante (energía/acción)
   Tipografía: Plus Jakarta Sans (titulares) + Inter (cuerpo) — Google Fonts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colores primarios — púrpura Markmelo #6401B5 */
  --color-primary-900: #1a0536;
  --color-primary-800: #280850;
  --color-primary-700: #3d0f78;
  --color-primary-600: #520d99;
  --color-primary-500: #6401B5;   /* color principal Markmelo */
  --color-primary-400: #8129cc;
  --color-primary-300: #a455e0;
  --color-primary-200: #c990ee;
  --color-primary-100: #e8ccf9;
  --color-primary-50:  #f7effe;

  /* Colores de acento — naranja vibrante */
  --color-accent-900: #7a2700;
  --color-accent-800: #b03900;
  --color-accent-700: #c94200;
  --color-accent-600: #e04a00;
  --color-accent-500: #f05215;   /* naranja principal */
  --color-accent-400: #f46930;
  --color-accent-300: #f88452;
  --color-accent-200: #fbb08e;
  --color-accent-100: #fddccc;
  --color-accent-50:  #fff4ef;

  /* Grises neutros (cálidos, no fríos) */
  --color-gray-950: #0f0f0f;
  --color-gray-900: #1a1a1a;
  --color-gray-800: #2e2e2e;
  --color-gray-700: #444444;
  --color-gray-600: #5e5e5e;
  --color-gray-500: #767676;
  --color-gray-400: #9a9a9a;
  --color-gray-300: #c0c0c0;
  --color-gray-200: #dcdcdc;
  --color-gray-100: #f0f0f0;
  --color-gray-50:  #f8f8f8;

  /* Colores semánticos */
  --color-success:  #22a96b;
  --color-warning:  #e8a020;
  --color-error:    #d93025;
  --color-info:     #1a6bbf;

  /* Colores de texto */
  --color-text-primary:   var(--color-gray-900);
  --color-text-secondary: var(--color-gray-600);
  --color-text-muted:     var(--color-gray-400);
  --color-text-inverse:   #ffffff;

  /* Colores de fondo */
  --color-bg-primary:   #ffffff;
  --color-bg-secondary: var(--color-gray-50);
  --color-bg-dark:      var(--color-primary-800);
  --color-bg-accent:    var(--color-accent-50);

  /* Tipografías */
  --font-heading: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Pesos tipográficos */
  --font-weight-regular:    400;
  --font-weight-medium:     500;
  --font-weight-semibold:   600;
  --font-weight-bold:       700;
  --font-weight-extrabold:  800;

  /* Escala tipográfica con clamp() para responsive */
  --text-xs:    clamp(0.694rem, 0.7rem + 0.0vw,   0.75rem);
  --text-sm:    clamp(0.833rem, 0.85rem + 0.05vw,  0.875rem);
  --text-base:  clamp(1rem,     1rem + 0vw,         1rem);
  --text-md:    clamp(1.125rem, 1.1rem + 0.1vw,    1.25rem);
  --text-lg:    clamp(1.25rem,  1.2rem + 0.2vw,    1.5rem);
  --text-xl:    clamp(1.5rem,   1.4rem + 0.4vw,    2rem);
  --text-2xl:   clamp(1.875rem, 1.7rem + 0.75vw,   2.5rem);
  --text-3xl:   clamp(2.25rem,  2rem + 1vw,         3rem);
  --text-4xl:   clamp(2.75rem,  2.4rem + 1.5vw,    3.75rem);
  --text-5xl:   clamp(3.25rem,  2.8rem + 2vw,      4.5rem);

  /* Line heights */
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;
  --leading-loose:   1.8;

  /* Letter spacing */
  --tracking-tight:  -0.025em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.15em;

  /* Espaciado — escala modular 4px base */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* Espaciado fluido para secciones */
  --section-gap:    clamp(3rem, 5vw, 6rem);
  --section-gap-lg: clamp(4rem, 7vw, 8rem);

  /* Contenedor */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1440px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Radios de borde */
  --radius-sm:   0.25rem;   /* 4px */
  --radius-md:   0.5rem;    /* 8px */
  --radius-lg:   0.75rem;   /* 12px */
  --radius-xl:   1rem;      /* 16px */
  --radius-2xl:  1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary: 0 4px 14px 0 rgb(26 63 126 / 0.3);
  --shadow-accent:  0 4px 14px 0 rgb(240 82 21 / 0.4);

  /* Transiciones */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-slow:   300ms ease;
  --transition-slower: 500ms ease;

  /* Z-index */
  --z-base:     0;
  --z-above:    10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    300;
  --z-toast:    400;
}

/* --------------------------------------------------------------------------
   2. RESET Y BASE — solo dentro de componentes mm-
   -------------------------------------------------------------------------- */

/* box-sizing global es seguro y necesario */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Tipografía y colores solo dentro de landings mm- */
.mm-landing,
.mm-hero,
.mm-trust-stats,
.mm-productos,
.mm-por-que,
.mm-kit,
.mm-proceso,
.mm-sectores,
.mm-reseñas,
.mm-faq,
.mm-cta-final {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Imágenes dentro de landings */
.mm-hero img,
.mm-productos img,
.mm-kit img,
.mm-por-que img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA — scoped a componentes mm-
   -------------------------------------------------------------------------- */
.mm-hero h1,
.mm-hero h2,
.mm-productos h2,
.mm-productos h3,
.mm-por-que h2,
.mm-por-que h3,
.mm-kit h2,
.mm-kit h3,
.mm-proceso h2,
.mm-proceso h3,
.mm-sectores h2,
.mm-reseñas h2,
.mm-faq h2,
.mm-faq h3,
.mm-cta-final h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary-800);
}

.display {
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
}

.overline {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent-500);
}

.lead {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

strong { font-weight: var(--font-weight-semibold); }

/* --------------------------------------------------------------------------
   4. UTILITIES
   -------------------------------------------------------------------------- */

/* Contenedor responsive */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--wide  { max-width: var(--container-2xl); }
.container--tight { max-width: var(--container-lg); }
.container--narrow { max-width: var(--container-md); }

/* Flow — espaciado vertical en cadena */
.flow > * + * {
  margin-top: var(--flow-gap, var(--space-6));
}

.flow--sm > * + * { --flow-gap: var(--space-4); }
.flow--lg > * + * { --flow-gap: var(--space-8); }
.flow--xl > * + * { --flow-gap: var(--space-12); }

/* Stack — layout vertical */
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--stack-gap, var(--space-6));
}

/* Grid auto-fit responsive */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 260px), 1fr));
  gap: var(--grid-gap, var(--space-6));
}

.grid-auto--sm { --grid-min: 180px; }
.grid-auto--lg { --grid-min: 320px; }

/* Grid de 2 columnas simétricas */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Grid de 3 columnas */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap   { flex-wrap: wrap; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* Texto */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Visibilidad accesible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75em 1.75em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent-400);
  outline-offset: 3px;
}

/* Botón primario — naranja para CTA principal */
.btn--primary {
  background-color: var(--color-accent-500);
  color: #ffffff;
  border-color: var(--color-accent-500);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-600);
  border-color: var(--color-accent-600);
  color: #ffffff;
  box-shadow: 0 6px 20px 0 rgb(240 82 21 / 0.5);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Botón secundario — azul outline */
.btn--secondary {
  background-color: transparent;
  color: var(--color-primary-500);
  border-color: var(--color-primary-400);
}

.btn--secondary:hover {
  background-color: var(--color-primary-50);
  border-color: var(--color-primary-500);
  color: var(--color-primary-700);
}

/* Botón fantasma blanco (para fondos oscuros) */
.btn--ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Botón WhatsApp */
.btn--whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background-color: #1db954;
  border-color: #1db954;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Tamaños */
.btn--sm {
  padding: 0.5em 1.25em;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1em 2.25em;
  font-size: var(--text-md);
  border-radius: var(--radius-lg);
}

.btn--xl {
  padding: 1.125em 2.5em;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   6. TARJETA DE PRODUCTO
   -------------------------------------------------------------------------- */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-gray-50);
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.04);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-4) var(--space-5);
  gap: var(--space-2);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-primary-800);
  text-decoration: none;
}

.product-card__title:hover {
  color: var(--color-primary-500);
}

.product-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  margin-top: auto;
  padding: var(--space-3) var(--space-5) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid var(--color-gray-100);
}

.product-card__price {
  font-weight: var(--font-weight-bold);
  font-size: var(--text-md);
  color: var(--color-primary-800);
}

.product-card__cta {
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   7. BADGE
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.3em 0.75em;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge--primary   { background: var(--color-primary-100); color: var(--color-primary-700); }
.badge--accent    { background: var(--color-accent-100);  color: var(--color-accent-700); }
.badge--success   { background: #d1fae5; color: #065f46; }
.badge--new       { background: var(--color-accent-500);  color: #ffffff; }

/* --------------------------------------------------------------------------
   8. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--color-gray-300);
}

.breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary-500);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   9. SECCIÓN HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--color-primary-800);
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    var(--color-primary-900) 0%,
    var(--color-primary-700) 50%,
    var(--color-primary-800) 100%
  );
  opacity: 0.9;
  z-index: 1;
}

.hero--with-image::before {
  background: linear-gradient(90deg,
    var(--color-primary-900) 0%,
    var(--color-primary-800) 45%,
    rgba(40, 8, 80, 0.7) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero__title {
  color: #ffffff;
  font-size: var(--text-4xl);
  line-height: 1.15;
  font-weight: var(--font-weight-extrabold);
}

.hero__title span {
  color: var(--color-accent-400);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.82);
  max-width: 55ch;
}

.hero__social-proof {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__social-proof::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN GENÉRICA
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-gap);
}

.section--dark {
  background-color: var(--color-primary-800);
  color: var(--color-text-inverse);
}

.section--accent {
  background-color: var(--color-bg-accent);
}

.section--gray {
  background-color: var(--color-bg-secondary);
}

.section__header {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.section--dark .section__header h2,
.section--dark .section__header h3 {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. DIFERENCIADORES / ICONOS
   -------------------------------------------------------------------------- */
.differentiators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.differentiator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.differentiator-item__icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.differentiator-item__title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-800);
}

.differentiator-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 28ch;
}

/* --------------------------------------------------------------------------
   12. PASOS DE PROCESO
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  counter-reset: step-counter;
}

.process-step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-accent-500);
  box-shadow: var(--shadow-sm);
}

.process-step__number {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary-100);
  line-height: 1;
  font-family: var(--font-heading);
}

.process-step__title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-800);
  margin-top: var(--space-3);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: var(--color-bg-primary);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-800);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: background-color var(--transition-fast);
}

.faq-item__question:hover {
  background-color: var(--color-bg-secondary);
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-accent-500);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* --------------------------------------------------------------------------
   14. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-600) 100%);
  padding-block: var(--section-gap-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-500) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-final__title {
  color: #ffffff;
  font-size: var(--text-3xl);
  max-width: 20ch;
}

.cta-final__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 55ch;
}

.cta-final__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   15. PLACEHOLDER DE PRODUCTOS (antes del shortcode real)
   -------------------------------------------------------------------------- */
.products-placeholder {
  background: repeating-linear-gradient(
    -45deg,
    var(--color-gray-50),
    var(--color-gray-50) 10px,
    var(--color-gray-100) 10px,
    var(--color-gray-100) 20px
  );
  border: 2px dashed var(--color-gray-300);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   16. LOGOS DE CLIENTES
   -------------------------------------------------------------------------- */
.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  opacity: 0.65;
  filter: grayscale(100%);
}

.client-logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE FINAL
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }

  .hero__image-wrap {
    display: none; /* ocultar en móvil muy pequeño para performance */
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   18. MM-LANDING 2026 — Componentes visuales para landings SEO
   ============================================================================= */

/* --- Keyframes ---------------------------------------------------------------- */
@keyframes mm-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mm-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.5); opacity: 1;   }
}

/* --- Scroll-triggered fade-in ------------------------------------------------ */
.mm-fadein {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.mm-fadein.visible {
  opacity: 1;
  transform: none;
}
.mm-fadein.d1 { transition-delay: 0.1s; }
.mm-fadein.d2 { transition-delay: 0.2s; }
.mm-fadein.d3 { transition-delay: 0.3s; }
.mm-fadein.d4 { transition-delay: 0.4s; }

/* --- Sección genérica -------------------------------------------------------- */
.mm-section {
  padding: 72px 0;
}
.mm-section--gray   { background: #f9f8ff; }
.mm-section--white  { background: #ffffff; }
.mm-section--dark   { background: #280850; color: #fff; }
.mm-section--purple { background: #6401B5; color: #fff; }

.mm-section-inner {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.mm-section-header {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 48px;
}
.mm-section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #280850;
  margin-bottom: 12px;
}
.mm-section-header p {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.65;
  max-width: none;
}
.mm-section--dark .mm-section-header h2,
.mm-section--purple .mm-section-header h2  { color: #fff; }
.mm-section--dark .mm-section-header p,
.mm-section--purple .mm-section-header p   { color: rgba(255,255,255,0.75); }

.mm-overline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f05215;
  margin-bottom: 10px;
}

/* --- Botones 2026 ------------------------------------------------------------ */
.mm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.mm-btn:hover { transform: translateY(-2px); }

.mm-btn--orange {
  background: #f05215;
  color: #fff;
  box-shadow: 0 4px 20px rgba(240,82,21,0.4);
}
.mm-btn--orange:hover { color: #fff; box-shadow: 0 8px 30px rgba(240,82,21,0.5); }

.mm-btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.mm-btn--wa:hover { color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

.mm-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.mm-btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.mm-btn--purple-outline {
  background: transparent;
  color: #6401B5;
  border-color: #6401B5;
}
.mm-btn--purple-outline:hover { background: #6401B5; color: #fff; }

/* --- HERO 2026 --------------------------------------------------------------- */
.mm-hero {
  position: relative;
  background: linear-gradient(135deg, #1a0435 0%, #6401B5 60%, #3a0080 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.mm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.11) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.mm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.mm-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mm-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
.mm-hero-title span { color: #FBBF24; }
.mm-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 52ch;
}
.mm-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.mm-hero-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-top: -6px;
}
.mm-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: mm-pulse 2s infinite;
}
.mm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
}

/* Imagen vertical hero (9:11) */
.mm-hero-img-wrap {
  position: relative;
}
.mm-hero-img-wrap img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  display: block;
}
/* Tarjetas flotantes en la imagen del hero */
.mm-float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 2;
}
.mm-float-card--tl { top: 22px;  left: -28px; }
.mm-float-card--br { bottom: 40px; right: -22px; }
.mm-float-num  { font-size: 1.4rem; font-weight: 800; color: #6401B5; line-height: 1; }
.mm-float-label { font-size: 0.72rem; color: #555; line-height: 1.3; }

/* --- TRUST BAR -------------------------------------------------------------- */
.mm-trust-bar {
  background: #1a0435;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mm-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.mm-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}
.mm-trust-icon { font-size: 1.15rem; flex-shrink: 0; }

/* --- STATS ------------------------------------------------------------------ */
.mm-stats {
  padding: 64px 0;
  background: #6401B5;
}
.mm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.mm-stat-item { padding: 20px 12px; }
.mm-stat-big {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: var(--font-heading);
}
.mm-stat-big .mm-suf { color: #FBBF24; }
.mm-stat-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
}

/* --- PRODUCT CARDS ---------------------------------------------------------- */
.mm-productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mm-prod-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ede8f8;
  box-shadow: 0 2px 12px rgba(100,1,181,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mm-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(100,1,181,0.15);
}
.mm-prod-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.mm-prod-card-body { padding: 18px 20px 22px; }
.mm-prod-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #280850;
  margin-bottom: 6px;
  display: block;
  text-decoration: none;
}
.mm-prod-card-title:hover { color: #6401B5; }
.mm-prod-card-desc {
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.55;
}

/* --- KIT / SHOWCASE --------------------------------------------------------- */
.mm-kit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mm-kit-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.12);
  display: block;
}
.mm-kit-features { display: flex; flex-direction: column; gap: 20px; }
.mm-kit-feat { display: flex; gap: 16px; align-items: flex-start; }
.mm-kit-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f0ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.mm-kit-feat-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #280850;
  margin-bottom: 4px;
}
.mm-kit-feat-text p {
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: none;
}

/* --- GALLERY STRIP (4 square) ---------------------------------------------- */
.mm-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mm-galeria img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}
.mm-galeria img:hover { transform: scale(1.04); }

/* --- POR QUÉ CARDS ---------------------------------------------------------- */
.mm-porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mm-porque-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mm-porque-card:hover { border-left-color: #f05215; transform: translateX(4px); }
.mm-porque-icon { font-size: 2rem; margin-bottom: 14px; }
.mm-porque-card h3 { font-size: 1rem; font-weight: 700; color: #280850; margin-bottom: 8px; }
.mm-porque-card p  { font-size: 0.875rem; color: #6b7280; line-height: 1.65; max-width: none; }

/* --- PROCESO (4 pasos con línea conectora) ----------------------------------- */
.mm-proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.mm-proceso-grid::before {
  content: '';
  position: absolute;
  top: 29px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, #6401B5 0%, #f05215 100%);
  z-index: 0;
}
.mm-paso {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
}
.mm-paso-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6401B5, #3a0080);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(100,1,181,0.35);
}
.mm-paso h4 { font-size: 0.95rem; font-weight: 700; color: #280850; margin-bottom: 8px; }
.mm-paso p  { font-size: 0.82rem; color: #6b7280; line-height: 1.55; }

/* --- SECTORES --------------------------------------------------------------- */
.mm-sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mm-sector-tag {
  background: #f0ecff;
  border: 1px solid #d4c5f5;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6401B5;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.mm-sector-tag:hover { background: #6401B5; color: #fff; transform: translateY(-2px); }

/* --- TESTIMONIOS ------------------------------------------------------------ */
.mm-testis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mm-testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mm-testi-stars { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.mm-testi-text  { font-size: 0.9rem; color: #374151; line-height: 1.75; font-style: italic; flex: 1; max-width: none; }
.mm-testi-author { display: flex; align-items: center; gap: 12px; }
.mm-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  display: block;
}
.mm-testi-name { font-size: 0.875rem; font-weight: 700; color: #280850; }
.mm-testi-role { font-size: 0.78rem; color: #9ca3af; }

/* --- FAQ 2026 --------------------------------------------------------------- */
.mm-faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mm-faq-item {
  border: 1px solid #ede8f8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.mm-faq-q {
  width: 100%;
  background: transparent;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #280850;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s;
}
.mm-faq-q:hover { background: #faf8ff; }
.mm-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0ecff;
  color: #6401B5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  line-height: 1;
}
.mm-faq-item.open .mm-faq-icon { transform: rotate(45deg); background: #6401B5; color: #fff; }
.mm-faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}
.mm-faq-item.open .mm-faq-a { padding: 0 24px 20px; max-height: 500px; }
.mm-faq-a p { font-size: 0.9rem; color: #4b5563; line-height: 1.75; max-width: none; }

/* --- CTA FINAL -------------------------------------------------------------- */
.mm-cta {
  position: relative;
  background: linear-gradient(135deg, #1a0435 0%, #6401B5 100%);
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.mm-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.mm-cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.mm-cta h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  max-width: 22ch;
  margin-inline: auto;
}
.mm-cta > .mm-cta-inner > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 55ch;
  margin-inline: auto;
}
.mm-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- INTERLINKING CARDS ----------------------------------------------------- */
.mm-interlink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mm-interlink-card {
  background: #fff;
  border: 1px solid #ede8f8;
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mm-interlink-card:hover { border-color: #6401B5; transform: translateY(-3px); }
.mm-interlink-card a {
  font-size: 0.98rem;
  font-weight: 700;
  color: #280850;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.mm-interlink-card a:hover { color: #6401B5; }
.mm-interlink-card p { font-size: 0.84rem; color: #6b7280; line-height: 1.5; max-width: none; }

/* --- HERO CON IMAGEN BG (mejora 1) ----------------------------------------- */
.mm-hero--bg {
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #1a0435;
  padding-block: clamp(5rem, 10vw, 8rem);
}
.mm-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mm-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,4,53,0.88) 0%, rgba(100,1,181,0.72) 100%);
  z-index: 1;
}
.mm-hero--bg .mm-hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0,800px);
  justify-content: flex-start;
  max-width: var(--container-xl);
}
.mm-hero--bg .mm-hero-img-wrap { display: none; }

/* --- TRUST STATS (mejora 3 — números grandes) ------------------------------ */
.mm-trust-stats {
  background: #fff;
  padding: 36px 0;
  border-bottom: 2px solid #f0ecff;
}
.mm-trust-stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.mm-trust-stat {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  position: relative;
}
.mm-trust-stat + .mm-trust-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e9e3f5;
}
.mm-trust-stat-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.mm-trust-stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #280850;
  line-height: 1;
  font-family: var(--font-heading);
  display: block;
}
.mm-trust-stat-num .ts-suf { color: #f05215; }
.mm-trust-stat-label { font-size: 0.78rem; color: #6b7280; margin-top: 4px; display: block; }

/* --- PRODUCT GRID 4 columnas + price/CTA (mejora 2) ------------------------ */
.mm-productos-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.mm-prod-card-price {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 6px;
}
.mm-prod-card-price strong { color: #6401B5; font-size: 0.92rem; }
.mm-prod-card-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #f0ecff;
  color: #6401B5;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mm-prod-card-cta:hover { background: #6401B5; color: #fff; }

/* --- PROCESO CON FLECHAS (mejora 4) ---------------------------------------- */
.mm-proceso-grid--icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
}
.mm-paso-v2 {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
/* Flecha entre pasos */
.mm-paso-v2:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 28px;
  right: -14px;
  font-size: 1.4rem;
  color: #f05215;
  font-weight: 700;
  z-index: 2;
}
.mm-paso-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6401B5, #3a0080);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.75rem;
  box-shadow: 0 6px 24px rgba(100,1,181,0.3);
}
.mm-paso-step-num {
  position: absolute;
  top: -8px;
  right: calc(50% - 36px - 8px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f05215;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-paso-v2 h4 { font-size: 0.95rem; font-weight: 700; color: #280850; margin-bottom: 8px; }
.mm-paso-v2 p  { font-size: 0.82rem; color: #6b7280; line-height: 1.5; }

/* --- RESPONSIVE -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mm-hero-inner            { grid-template-columns: 1fr; }
  .mm-hero-img-wrap         { display: none; }
  .mm-stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .mm-productos-grid        { grid-template-columns: repeat(2, 1fr); }
  .mm-productos-grid--4     { grid-template-columns: repeat(2, 1fr); }
  .mm-kit                   { grid-template-columns: 1fr; gap: 32px; }
  .mm-galeria               { grid-template-columns: repeat(4, 1fr); }
  .mm-porque-grid           { grid-template-columns: repeat(2, 1fr); }
  .mm-proceso-grid          { grid-template-columns: repeat(2, 1fr); }
  .mm-proceso-grid::before  { display: none; }
  .mm-proceso-grid--icons   { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .mm-paso-v2::after        { display: none; }
  .mm-sectores-grid         { grid-template-columns: repeat(3, 1fr); }
  .mm-testis-grid           { grid-template-columns: repeat(2, 1fr); }
  .mm-interlink-grid        { grid-template-columns: repeat(2, 1fr); }
  .mm-trust-stats-inner     { flex-wrap: wrap; }
  .mm-trust-stat            { min-width: 33%; }
}
@media (max-width: 768px) {
  .mm-section             { padding: 52px 0; }
  .mm-trust-bar-inner     { gap: 18px; }
  .mm-trust-item          { font-size: 0.8rem; }
  .mm-galeria             { grid-template-columns: repeat(2, 1fr); }
  .mm-porque-grid         { grid-template-columns: 1fr; }
  .mm-testis-grid         { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mm-productos-grid        { grid-template-columns: 1fr; }
  .mm-productos-grid--4     { grid-template-columns: 1fr; }
  .mm-proceso-grid          { grid-template-columns: 1fr; }
  .mm-proceso-grid--icons   { grid-template-columns: 1fr; }
  .mm-sectores-grid         { grid-template-columns: repeat(2, 1fr); }
  .mm-stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .mm-cta-actions           { flex-direction: column; align-items: center; }
  .mm-interlink-grid        { grid-template-columns: 1fr; }
  .mm-hero-ctas             { flex-direction: column; align-items: flex-start; }
  .mm-trust-stat            { min-width: 50%; }
}

/* ==========================================================================
   SECTION 19 — PÁGINAS BASE INSTITUCIONALES (Fase 3)
   ========================================================================== */

/* --- Page hero (más compacto que landing hero) --- */
.mm-page-hero {
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-900) 100%);
  color: #fff;
  padding: 72px 24px 56px;
  text-align: center;
}
.mm-page-hero-inner { max-width: 760px; margin: 0 auto; }
.mm-page-hero .mm-overline { color: var(--color-accent-300); }
.mm-page-hero h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  margin-bottom: 16px;
}
.mm-page-hero h1 span { color: var(--color-accent-300); }
.mm-page-hero-sub {
  font-size: 1.1rem;
  opacity: .88;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.mm-page-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* --- Breadcrumb --- */
.mm-breadcrumb {
  padding: 10px 24px;
  background: #f5f3ff;
  font-size: .82rem;
  color: #666;
}
.mm-breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.mm-breadcrumb-list li { display: flex; align-items: center; gap: 4px; }
.mm-breadcrumb-list a { color: var(--color-primary-500); text-decoration: none; }
.mm-breadcrumb-list a:hover { text-decoration: underline; }

/* --- Team --- */
.mm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.mm-team-card { text-align: center; }
.mm-team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: var(--color-primary-100);
  display: block;
  border: 3px solid var(--color-primary-200);
}
.mm-team-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.mm-team-role { color: #666; font-size: .875rem; margin-bottom: 8px; }

/* --- Values / Misión-Visión --- */
.mm-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.mm-value-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1.5px solid #ede9fe;
}
.mm-value-icon { font-size: 2rem; margin-bottom: 14px; }
.mm-value-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary-600);
}

/* --- Contact layout --- */
.mm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.mm-contact-info-list { list-style: none; padding: 0; margin: 0; }
.mm-contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0edf8;
  align-items: flex-start;
}
.mm-contact-item:last-child { border-bottom: none; }
.mm-contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.mm-contact-label { font-size: .78rem; color: #888; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.mm-contact-value { font-weight: 600; font-size: .97rem; }
.mm-contact-value a { color: var(--color-primary-600); text-decoration: none; }
.mm-contact-value a:hover { text-decoration: underline; }
.mm-map-wrap { border-radius: 12px; overflow: hidden; border: 1.5px solid #ede9fe; }
.mm-map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Contact form */
.mm-contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 24px rgba(100,1,181,.08);
  border: 1.5px solid #ede9fe;
}
.mm-form-row { margin-bottom: 18px; }
.mm-form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: #333; }
.mm-form-row input,
.mm-form-row textarea,
.mm-form-row select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #dde0e8;
  border-radius: 8px;
  font-size: .92rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.mm-form-row input:focus,
.mm-form-row textarea:focus,
.mm-form-row select:focus {
  border-color: var(--color-primary-500);
  background: #fff;
  outline: none;
}
.mm-form-row textarea { min-height: 110px; resize: vertical; }
.mm-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mm-form-notice {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .92rem;
}
.mm-form-notice--ok    { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.mm-form-notice--error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }

/* --- Legal content --- */
.mm-legal-content { max-width: 820px; margin: 0 auto; }
.mm-legal-update {
  background: #f5f3ff;
  border-left: 4px solid var(--color-primary-500);
  padding: 12px 18px;
  border-radius: 4px;
  margin-bottom: 36px;
  font-size: .87rem;
  color: #555;
}
.mm-legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--color-primary-700);
  padding-bottom: 8px;
  border-bottom: 1.5px solid #ede9fe;
}
.mm-legal-content h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.mm-legal-content p,
.mm-legal-content li  { font-size: .93rem; line-height: 1.85; color: #444; margin-bottom: 10px; }
.mm-legal-content ul,
.mm-legal-content ol  { padding-left: 24px; margin-bottom: 16px; }
.mm-legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem; }
.mm-legal-content th,
.mm-legal-content td  { padding: 10px 14px; border: 1px solid #dde0e8; text-align: left; }
.mm-legal-content th  { background: #f5f3ff; font-weight: 600; }

/* --- Page hero modifiers & named elements --- */
.mm-page-hero__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.18;
  margin: 16px 0 14px;
}
.mm-page-hero__sub {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 620px;
  margin: 0 auto 8px;
  line-height: 1.7;
  color: #fff;
}
.mm-page-hero--compact { padding: 48px 24px 40px; }

/* --- Stats grid --- */
.mm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}
.mm-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  border: 1.5px solid #ede9fe;
}
.mm-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary-600);
  line-height: 1;
  margin-bottom: 8px;
}
.mm-stat-label { font-size: .88rem; color: #666; }

/* --- Team extras --- */
.mm-team-bio { font-size: .875rem; color: #555; line-height: 1.6; }
.mm-team-avatar--initials {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .05em;
}

/* --- Process steps --- */
.mm-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.mm-process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-300), var(--color-primary-100));
}
.mm-process-step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid #f0edf8;
  position: relative;
}
.mm-process-step:last-child { border-bottom: none; }
.mm-process-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.mm-process-body { flex: 1; padding-top: 10px; }
.mm-process-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-700);
  margin-bottom: 10px;
}
.mm-process-desc { color: #444; line-height: 1.75; margin-bottom: 12px; }
.mm-process-list {
  padding-left: 18px;
  margin: 0;
  color: #555;
  font-size: .9rem;
  line-height: 1.7;
}

/* --- Features grid (Proceso page) --- */
.mm-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.mm-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1.5px solid #ede9fe;
  text-align: center;
}
.mm-feature-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.mm-feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.mm-feature-card p { font-size: .875rem; color: #555; line-height: 1.65; }

/* --- FAQ accordion --- */
.mm-faq-list { margin-top: 40px; }
.mm-faq-item {
  border-bottom: 1.5px solid #ede9fe;
  padding: 0;
}
.mm-faq-item:first-child { border-top: 1.5px solid #ede9fe; }
.mm-faq-question {
  list-style: none;
  padding: 20px 12px 20px 0;
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  cursor: pointer;
  position: relative;
  padding-right: 36px;
  line-height: 1.4;
}
.mm-faq-question::-webkit-details-marker { display: none; }
.mm-faq-question::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary-500);
  font-weight: 400;
  transition: transform .2s;
}
details[open] > .mm-faq-question::after {
  content: '−';
}
.mm-faq-answer {
  padding: 0 12px 20px;
  color: #444;
  font-size: .93rem;
  line-height: 1.8;
}
.mm-faq-answer p { margin: 0; }

/* --- Two-col utility --- */
.mm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

/* --- Responsive páginas --- */
@media (max-width: 900px) {
  .mm-contact-grid { grid-template-columns: 1fr; }
  .mm-two-col      { grid-template-columns: 1fr; }
  .mm-process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .mm-form-grid-2   { grid-template-columns: 1fr; }
  .mm-team-grid     { grid-template-columns: repeat(2, 1fr); }
  .mm-page-hero     { padding: 52px 20px 40px; }
  .mm-stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .mm-process-step  { flex-direction: column; gap: 12px; }
}

/* --- Missing utility: mm-section--light --- */
.mm-section--light { background: #f9f8ff; }

/* --- Shared CTA section (páginas institucionales) --- */
.mm-cta-section {
  background: linear-gradient(135deg, #1a0435 0%, #6401B5 100%);
  padding: 72px 24px;
  text-align: center;
  color: #fff;
}
.mm-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.mm-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.65;
}

/* --- btn--outline-white (sobre fondo oscuro) --- */
.mm-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.mm-btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   SECTION 20 — HEADER GLOBAL (Fase 5)
   ========================================================================== */

.mm-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary-500);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.mm-skip-link:focus { top: 0; }

.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1.5px solid #ede9fe;
  box-shadow: 0 2px 8px rgba(100,1,181,.06);
}
.mm-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.mm-header-logo { flex-shrink: 0; text-decoration: none; }
.mm-header-logo img { height: 42px; width: auto; display: block; }
.mm-header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-500);
}

/* Nav */
.mm-header-nav { flex: 1; }
.mm-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
  justify-content: flex-end;
}
.mm-nav-list li { position: relative; }
.mm-nav-list > li > a {
  display: block;
  padding: 7px 11px;
  font-size: .875rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.mm-nav-list > li > a:hover,
.mm-nav-list > li.current-menu-item > a,
.mm-nav-list > li.current_page_item > a {
  color: var(--color-primary-500);
  background: #f5f3ff;
}

/* Dropdown */
.mm-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1.5px solid #ede9fe;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(100,1,181,.12);
  min-width: 210px;
  padding: 8px;
  list-style: none;
  z-index: 200;
}
.mm-nav-list li:hover > .sub-menu,
.mm-nav-list li:focus-within > .sub-menu { display: block; }
.mm-nav-list .sub-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: .875rem;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}
.mm-nav-list .sub-menu li a:hover {
  background: #f5f3ff;
  color: var(--color-primary-500);
}

/* Header actions */
.mm-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mm-header-cta { font-size: .82rem; padding: 8px 16px; white-space: nowrap; }

/* Hamburger */
.mm-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mm-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.mm-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mm-hamburger.is-open span:nth-child(2) { opacity: 0; }
.mm-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Page wrapper */
.mm-page-wrapper { min-height: 70vh; }

/* Responsive header */
@media (max-width: 900px) {
  .mm-hamburger { display: flex; }
  .mm-header-cta { display: none; }
  .mm-header-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999;
    padding: 20px 24px;
    box-shadow: -4px 0 24px rgba(0,0,0,.08);
  }
  .mm-header-nav.mm-nav--open { transform: translateX(0); }
  .mm-nav-list {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
  }
  .mm-nav-list > li > a {
    padding: 13px 8px;
    font-size: .95rem;
    border-bottom: 1px solid #f0edf8;
    border-radius: 0;
  }
  .mm-nav-list .sub-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    display: block;
  }
}

/* ==========================================================================
   SECTION 21 — FOOTER GLOBAL (Fase 5)
   ========================================================================== */

.mm-site-footer {
  background: #1a0a2e;
  color: #bbb;
}
.mm-footer-main { padding: 60px 24px 44px; }
.mm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 44px;
}

/* Brand column */
.mm-footer-brand .mm-footer-logo-link { text-decoration: none; }
.mm-footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.mm-footer-tagline {
  font-size: .875rem;
  line-height: 1.65;
  color: #999;
  margin-bottom: 20px;
  max-width: 260px;
}
.mm-footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mm-footer-contact-link {
  font-size: .875rem;
  color: #bbb;
  text-decoration: none;
  transition: color .15s;
}
.mm-footer-contact-link:hover { color: #fff; }

/* Nav columns */
.mm-footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin: 0 0 14px;
}
.mm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mm-footer-links li { margin-bottom: 7px; }
.mm-footer-links a {
  font-size: .875rem;
  color: #999;
  text-decoration: none;
  transition: color .15s;
}
.mm-footer-links a:hover { color: #fff; }

/* Rating */
.mm-footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .875rem;
  color: #999;
}
.mm-footer-stars { color: #f59e0b; font-size: 1rem; }

/* Bottom bar */
.mm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 24px;
}
.mm-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.mm-footer-copy { font-size: .78rem; color: #777; margin: 0; }
.mm-footer-legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.mm-footer-legal-list a {
  font-size: .78rem;
  color: #777;
  text-decoration: none;
  transition: color .15s;
}
.mm-footer-legal-list a:hover { color: #fff; }

/* Responsive footer */
@media (max-width: 1024px) {
  .mm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .mm-footer-grid { grid-template-columns: 1fr; }
  .mm-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .mm-footer-main { padding: 44px 20px 32px; }
}


/* ==========================================================================
   SECTION 22 — HOME REDESIGN (Fase 6 v2)
   ========================================================================== */

/* ── LABEL overline (como en referencia) ──────────── */
.mm-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary-500);
  display: block;
  margin-bottom: 8px;
}
.mm-label--yellow { color: #d97706; }

/* ── HERO 2 COLUMNAS ──────────────────────────────── */
.mm-home-hero {
  background: linear-gradient(135deg, #1a0435 0%, #6401B5 55%, #7c3aed 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mm-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.mm-home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
}
.mm-home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,191,36,.16);
  border: 1px solid rgba(251,191,36,.4);
  color: #fbbf24;
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.mm-home-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
}
.mm-home-hero-title em { font-style: normal; color: #fff; }
.mm-home-hero-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 520px;
}
.mm-home-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.mm-home-hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}
.mm-home-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.mm-home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.mm-home-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  opacity: .84;
}
.mm-home-proof-check {
  width: 22px;
  height: 22px;
  background: rgba(251,191,36,.22);
  border: 1px solid rgba(251,191,36,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: #fbbf24;
  flex-shrink: 0;
}

/* Hero image column */
.mm-home-hero-visual { position: relative; }
.mm-home-hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(107,33,168,.35);
  aspect-ratio: 9/11;
  width: 100%;
  object-fit: cover;
  display: block;
}
.mm-home-hero-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: mm-fadein-up .6s ease both;
}
.mm-home-hero-float--bottom { bottom: -18px; left: -18px; animation-delay: .4s; }
.mm-home-hero-float--top    { top: -14px;    right: -14px; animation-delay: .6s; }
.mm-hf-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.mm-hf-icon--purple { background: #ede9fe; }
.mm-hf-icon--yellow { background: #fef3c7; }
.mm-hf-num  { font-size: 1.3rem; font-weight: 900; color: var(--color-primary-600); line-height: 1; }
.mm-hf-label { font-size: .75rem; color: #888; margin-top: 2px; }

@keyframes mm-fadein-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST STRIP ──────────────────────────────────── */
.mm-trust-strip {
  background: #1a0435;
  color: #fff;
  padding: 16px 0;
}
.mm-trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.mm-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.mm-trust-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ── STATS STRIP ─────────────────────────────────── */
.mm-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e5e7eb;
}
.mm-stat-box {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
}
.mm-stat-big {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-primary-600);
  line-height: 1;
  margin-bottom: 6px;
}
.mm-stat-suf { color: #fbbf24; }
.mm-stat-desc { font-size: .88rem; color: #6b7280; font-weight: 600; }

/* ── PRODUCT CARDS ───────────────────────────────── */
.mm-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mm-prod-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.mm-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107,33,168,.22);
  border-color: var(--color-primary-500);
}
.mm-prod-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.mm-prod-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.mm-prod-card:hover .mm-prod-card-img img { transform: scale(1.06); }
.mm-prod-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mm-prod-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.mm-prod-card-desc { font-size: .87rem; color: #6b7280; flex: 1; margin-bottom: 14px; line-height: 1.6; }
.mm-prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.mm-prod-card-min { font-size: .8rem; color: #9ca3af; }
.mm-prod-card-link {
  font-size: .87rem;
  font-weight: 700;
  color: var(--color-primary-500);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s, color .2s;
}
.mm-prod-card-link:hover { color: #d97706; gap: 8px; }
.mm-prod-extra {
  margin-top: 24px;
  background: #f9f8ff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.8;
}
.mm-prod-extra a { color: var(--color-primary-500); font-weight: 700; }
.mm-prod-extra a:hover { text-decoration: underline; }

/* ── KIT SHOWCASE ────────────────────────────────── */
.mm-kit-section {
  background: linear-gradient(135deg, #1a0435, #6401B5);
  color: #fff;
  overflow: hidden;
}
.mm-kit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.mm-kit-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.mm-kit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-kit-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fbbf24;
  margin-bottom: 16px;
}
.mm-kit-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.mm-kit-title span { color: #fbbf24; }
.mm-kit-lead { color: rgba(255,255,255,.88); margin-bottom: 28px; font-size: 1.02rem; line-height: 1.7; }
.mm-kit-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.mm-kit-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px;
  border-radius: 12px;
}
.mm-kit-feat-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.mm-kit-feat-title { font-size: .88rem; font-weight: 700; }
.mm-kit-feat-sub { font-size: .78rem; opacity: .7; margin-top: 2px; }

/* ── POR QUÉ (cards con acento izquierdo) ────────── */
.mm-porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mm-porque-card {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.mm-porque-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(var(--color-primary-500), var(--color-primary-300));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity .25s;
}
.mm-porque-card:hover {
  box-shadow: 0 12px 40px rgba(107,33,168,.18);
  transform: translateY(-4px);
  border-color: var(--color-primary-400);
}
.mm-porque-card:hover::before { opacity: 1; }
.mm-porque-icon {
  width: 52px; height: 52px;
  background: #ede9fe;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.mm-porque-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.mm-porque-card p  { font-size: .88rem; color: #6b7280; line-height: 1.7; }

/* ── PROCESO 4 PASOS ─────────────────────────────── */
.mm-proceso-4-wrap { position: relative; margin-top: 56px; }
.mm-proceso-4-line {
  position: absolute;
  top: 42px;
  left: 12.5%; right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, var(--color-primary-400));
  border-radius: 2px;
}
.mm-proceso-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.mm-paso {
  text-align: center;
  padding: 0 12px;
}
.mm-paso-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-300));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 20px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--color-primary-500), 0 4px 16px rgba(100,1,181,.3);
  position: relative;
  z-index: 1;
}
.mm-paso h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.mm-paso p  { font-size: .85rem; color: #6b7280; line-height: 1.65; }

/* ── SECTORES ────────────────────────────────────── */
.mm-sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}
.mm-sector-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 600;
  font-size: .875rem;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.mm-sector-pill:hover {
  border-color: var(--color-primary-400);
  background: #ede9fe;
  color: var(--color-primary-600);
  transform: translateX(4px);
}
.mm-sector-dot {
  width: 8px; height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── TESTIMONIOS ─────────────────────────────────── */
.mm-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mm-testi-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: box-shadow .25s, border-color .25s;
}
.mm-testi-card:hover { box-shadow: 0 8px 32px rgba(107,33,168,.12); border-color: var(--color-primary-300); }
.mm-testi-stars { color: #fbbf24; font-size: 1.05rem; margin-bottom: 14px; letter-spacing: .05em; }
.mm-testi-text {
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.mm-testi-text::before { content: '"'; font-size: 2.2rem; color: #ede9fe; line-height: 0; vertical-align: -.4em; margin-right: 2px; }
.mm-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}
.mm-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #ede9fe;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  color: var(--color-primary-500);
  font-size: .95rem;
  flex-shrink: 0;
}
.mm-testi-name  { font-weight: 700; font-size: .88rem; }
.mm-testi-role  { font-size: .78rem; color: #9ca3af; }
.mm-testi-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: #ede9fe;
  color: var(--color-primary-500);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
}

/* ── CTA CON GARANTÍAS ───────────────────────────── */
.mm-cta-guarantees {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.mm-cta-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  opacity: .82;
}
.mm-cta-guarantee-check { color: #fbbf24; font-size: 1rem; }

/* ── COTIZADOR PAGE ───────────────────────────────── */
.mm-cotizador-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.mm-cotizador-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #ede9fe;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.mm-cotizador-cat:hover { border-color: var(--color-primary-400); box-shadow: 0 4px 16px rgba(100,1,181,.1); }
.mm-cotizador-cat-icon { font-size: 1.8rem; flex-shrink: 0; width: 44px; text-align: center; }
.mm-cotizador-cat h3   { font-size: .92rem; font-weight: 700; margin-bottom: 2px; }
.mm-cotizador-cat p    { font-size: .78rem; color: #777; margin: 0; }

/* ── LEGAL: centrado + acordeón ─────────────────── */
.mm-legal-accordion .mm-legal-content { max-width: 820px; margin: 0 auto; }
.mm-legal-acc-item {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.mm-legal-acc-item:has(details[open]) { border-color: var(--color-primary-400); box-shadow: 0 0 0 2px #ede9fe; }
.mm-legal-acc-item details { margin: 0; }
.mm-legal-acc-item details > summary {
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: .97rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  user-select: none;
}
.mm-legal-acc-item details > summary::-webkit-details-marker { display: none; }
.mm-legal-acc-item details > summary::after {
  content: '';
  width: 28px; height: 28px;
  background: #ede9fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236401B5' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 5v14m7-7H5'/%3E%3C/svg%3E") center/16px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .25s, background .25s;
}
.mm-legal-acc-item details[open] > summary::after {
  background-color: var(--color-primary-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 12h14'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}
.mm-legal-acc-body {
  padding: 0 22px 20px;
  font-size: .92rem;
  color: #444;
  line-height: 1.8;
}
.mm-legal-acc-body ul, .mm-legal-acc-body ol { padding-left: 22px; margin-bottom: 10px; }
.mm-legal-acc-body li { margin-bottom: 5px; }
.mm-legal-acc-body a { color: var(--color-primary-500); text-decoration: none; }
.mm-legal-acc-body a:hover { text-decoration: underline; }
.mm-legal-acc-body strong { color: #222; }

/* ── RESPONSIVE HOME REDESIGN ───────────────────── */
@media (max-width: 1024px) {
  .mm-home-hero-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 0 48px; }
  .mm-home-hero-visual { display: block; max-height: 300px; overflow: hidden; border-radius: 16px; margin: 28px auto 0; max-width: 380px; }
  .mm-home-hero-visual img { width: 100%; height: 300px; object-fit: cover; object-position: top; border-radius: 16px; }
  .mm-home-hero-float { display: none; }
  .mm-home-hero-lead, .mm-home-hero-proof { margin-left: auto; margin-right: auto; }
  .mm-home-hero-pills, .mm-home-hero-ctas, .mm-home-hero-proof { justify-content: center; }
  .mm-kit-inner { grid-template-columns: 1fr; }
  .mm-kit-img { order: -1; }
  .mm-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .mm-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-porque-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mm-trust-strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mm-trust-sep { display: none; }
  .mm-proceso-4-line { display: none; }
  .mm-proceso-4-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .mm-testi-grid, .mm-prod-grid, .mm-porque-grid { grid-template-columns: 1fr; }
  .mm-sectores-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-kit-inner { padding: 56px 0; gap: 32px; }
}
@media (max-width: 480px) {
  .mm-proceso-4-grid { grid-template-columns: 1fr; }
  .mm-sectores-grid { grid-template-columns: 1fr; }
  .mm-stats-strip { grid-template-columns: 1fr 1fr; }
}

/* ── TÍTULOS BLANCOS EN SECCIONES OSCURAS/MORADAS ───── */
/* Cualquier h1-h4 dentro de sección con fondo oscuro siempre en blanco */
.mm-cta-section h1, .mm-cta-section h2, .mm-cta-section h3, .mm-cta-section h4,
.mm-kit-section h1, .mm-kit-section h2, .mm-kit-section h3, .mm-kit-section h4,
.mm-home-hero h1, .mm-home-hero h2, .mm-home-hero h3, .mm-home-hero h4,
.mm-trust-strip h1, .mm-trust-strip h2, .mm-trust-strip h3,
.mm-page-hero h1, .mm-page-hero h2, .mm-page-hero h3,
.mm-section--dark h1, .mm-section--dark h2, .mm-section--dark h3, .mm-section--dark h4,
.mm-section--purple h1, .mm-section--purple h2, .mm-section--purple h3, .mm-section--purple h4 {
  color: #fff !important;
}

/* Logo en header — tamaño controlado */
.mm-header-logo img,
.mm-header-logo .custom-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Logo en footer — ligeramente más pequeño que el header */
.mm-footer-logo-link img,
.mm-footer-logo-link .custom-logo {
  height: 36px;
  width: auto;
  display: block;
}
.mm-footer-logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; }

/* ── GHOST BUTTON (dark backgrounds) ────────────────── */
.mm-btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.mm-btn--ghost:hover, .mm-btn--ghost:focus {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ── COTIZADOR PAGE ──────────────────────────────────── */
.mm-cotizador-wrap { max-width: 860px; margin: 0 auto; }
.mm-cotizador-intro { text-align: center; margin-bottom: 2.5rem; }
.mm-cotizador-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 2.5rem; }
@media (max-width: 640px) { .mm-cotizador-cats { grid-template-columns: repeat(2,1fr); } }
.mm-cotizador-cat {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.mm-cotizador-cat:hover { border-color: var(--color-primary-500); box-shadow: 0 0 0 3px #ede9fe; }
.mm-cotizador-cat.is-active { border-color: var(--color-primary-500); background: #f5f3ff; box-shadow: 0 0 0 3px #ede9fe; }
.mm-cotizador-cat-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.mm-cotizador-cat-label { font-size: .85rem; font-weight: 600; color: #333; }
.mm-cotizador-form-box { background: #fafafa; border: 1px solid #e5e7eb; border-radius: 14px; padding: 2rem 2.5rem; }
@media (max-width: 640px) { .mm-cotizador-form-box { padding: 1.5rem 1rem; } }
.mm-cotizador-form-box h3 { font-size: 1.2rem; color: var(--color-primary-600); margin-bottom: 1.5rem; }
.mm-form-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 640px) { .mm-form-grid-3 { grid-template-columns: 1fr; } }

/* ── NOSOTROS — image gallery strip ─────────────────── */
.mm-nos-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 2rem 0; }
.mm-nos-gallery img { border-radius: 10px; width: 100%; height: 220px; object-fit: cover; display: block; }
@media (max-width: 640px) { .mm-nos-gallery { grid-template-columns: 1fr; } }

/* ── PROCESO — step images ───────────────────────────── */
.mm-process-img { width: 100%; border-radius: 10px; height: 200px; object-fit: cover; margin-top: 16px; display: block; }

/* ── LEGAL CENTERED (terminos) ───────────────────────── */
.mm-legal-center { max-width: 820px; margin: 0 auto; }

/* =====================================================
   AJUSTES FASE CIERRE · 2026-04-24
   Home v2: rating badge, mundial banner, cat grid,
   prod card badge, diferenciadores featured
   ===================================================== */

/* Rating badge en hero (obligatorio en primeros 600px) */
.mm-home-rating-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,.15); border: 1px solid rgba(251,191,36,.4);
  border-radius: 50px; padding: 7px 16px; margin-bottom: 20px;
  flex-wrap: wrap;
}
.mm-home-rating-stars { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.mm-home-rating-num   { font-size: 1.1rem; font-weight: 900; color: #fff; }
.mm-home-rating-slash { color: rgba(255,255,255,.5); font-size: .9rem; }
.mm-home-rating-reviews { font-size: .82rem; color: rgba(255,255,255,.8); font-weight: 600; }
.mm-home-hero-h1 { font-size: clamp(2rem,4.5vw,3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
.mm-home-hero-h1 em { font-style: normal; color: #fff; }

/* Mundial banner */
.mm-mundial-banner {
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 40%,#0f3460 100%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.mm-mundial-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(107,33,168,.4),rgba(251,191,36,.1));
  pointer-events: none;
}
.mm-mundial-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.mm-mundial-content { padding-right: 16px; }
.mm-mundial-urgency {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,.9); border-radius: 50px;
  padding: 6px 14px; font-size: .8rem; font-weight: 800;
  margin-bottom: 14px; animation: pulse 2s infinite;
}
.mm-urgency-dot {
  width: 8px; height: 8px; background: #fff; border-radius: 50%;
  animation: pulse 1s infinite; flex-shrink: 0;
}
.mm-mundial-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,.2); border: 1px solid rgba(251,191,36,.5);
  color: #FBBF24; padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px;
}
.mm-mundial-content h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); margin-bottom: 14px; }
.mm-mundial-content h2 span { color: #FBBF24; }
.mm-mundial-lead { opacity: .88; font-size: 1.05rem; max-width: 480px; }
.mm-mundial-image { border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(107,33,168,.3); }
.mm-mundial-image img { width: 100%; height: auto; display: block; }
@media(max-width:900px) {
  .mm-mundial-inner { grid-template-columns: 1fr; }
  .mm-mundial-image { display: block; margin-top: 28px; max-height: 260px; overflow: hidden; border-radius: 14px; }
  .mm-mundial-image > img { max-height: 200px; width: 100%; object-fit: cover; border-radius: 14px; }
  .mm-mundial-prod-grid { grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
  .mm-mundial-prod-thumb { aspect-ratio: 1/1; }
  .mm-mundial-content { padding-right: 0; }
}

/* Category grid */
.mm-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 40px;
}
.mm-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 16px; border-radius: 16px; border: 2px solid #e5e7eb;
  background: #fff; text-decoration: none; color: inherit;
  transition: all .22s ease; position: relative; overflow: hidden;
}
.mm-cat-card:hover {
  border-color: #6B21A8; box-shadow: 0 8px 28px rgba(107,33,168,.15);
  transform: translateY(-4px);
}
.mm-cat-card--featured {
  border-color: #6B21A8; background: linear-gradient(135deg,#f5f3ff,#ede9fe);
}
.mm-cat-card--featured:hover { box-shadow: 0 8px 28px rgba(107,33,168,.3); }
.mm-cat-card--all {
  border-style: dashed; background: #f9f8ff;
}
.mm-cat-card--all:hover { background: #ede9fe; }
.mm-cat-icon { font-size: 2.4rem; margin-bottom: 12px; line-height: 1; }
.mm-cat-badge {
  position: absolute; top: 10px; right: 10px;
  background: #FF6B35; color: #fff; font-size: .68rem; font-weight: 800;
  padding: 3px 8px; border-radius: 50px; letter-spacing: .3px;
}
.mm-cat-card h3 { font-size: .92rem; font-weight: 800; color: #280850; margin-bottom: 4px; line-height: 1.3; }
.mm-cat-card p  { font-size: .78rem; color: #6b7280; margin: 0; }
@media(max-width:900px) { .mm-cat-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:640px) { .mm-cat-grid { grid-template-columns: repeat(2,1fr); } }

/* Product card badge overlay */
.mm-prod-card { position: relative; }
.mm-prod-card-img { position: relative; }
.mm-prod-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: #6B21A8; color: #fff;
  font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 50px;
}
.mm-prod-card-badge--green  { background: #059669; }
.mm-prod-card-badge--yellow { background: #D97706; }

/* Diferenciadores featured */
.mm-porque-card--featured {
  border-color: #6B21A8; background: linear-gradient(135deg,#f5f3ff,#ede9fe);
}
.mm-porque-card--featured:hover { border-left-color: #6B21A8; }
.mm-porque-card--featured h3 { color: #4C1D95; }

/* Sector pill (ya existe en style.css arriba pero refuerzo mobile) */
.mm-sector-dot { width: 8px; height: 8px; background: #FBBF24; border-radius: 50%; flex-shrink: 0; }
@media(max-width:480px) { .mm-sectores-grid { grid-template-columns: 1fr; } }

/* =====================================
   LANDING PAGES GENÉRICAS (mm-lp-*)
   AJUSTES FASE CIERRE · 2026-04-24
   ===================================== */

/* Hero landing */
.mm-lp-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #4C1D95 0%, #6B21A8 60%, #7e22ce 100%);
  color: #fff;
}
.mm-lp-hero--mundial {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #2563eb 100%);
}
.mm-lp-hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center;
}
.mm-lp-hero-img { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.35); }
.mm-lp-hero-img img { width: 100%; height: auto; display: block; }
@media(max-width:900px) {
  .mm-lp-hero-inner { grid-template-columns: 1fr; }
  .mm-lp-hero-img { display: none; }
}

/* Urgency chip */
.mm-urgency-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dc2626; color: #fff; border-radius: 50px;
  padding: 6px 16px; font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px;
  animation: pulse 2s infinite;
}

/* Badge landing (copa/award) */
.mm-lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,.2); border: 1px solid rgba(251,191,36,.5);
  color: #FBBF24; padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 16px;
}

/* Pill badges in hero */
.mm-hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.mm-hero-pill {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 700;
}
.mm-hero-pill--accent { background: rgba(255,107,53,.3); border-color: rgba(255,107,53,.6); }

/* Content area */
.mm-lp-content {
  max-width: 1180px; margin: 0 auto; padding: 60px 20px;
}
.mm-lp-lead {
  font-size: 1.1rem; line-height: 1.8; color: #374151;
  max-width: 800px; margin-bottom: 40px;
}
.mm-lp-content h2 {
  font-size: clamp(1.5rem,3vw,2.2rem); color: #280850;
  margin: 48px 0 20px; font-weight: 900;
}
.mm-lp-content h3 {
  font-size: 1.2rem; color: #4C1D95; margin: 32px 0 14px; font-weight: 800;
}

/* Styled lists */
.mm-lp-ul, .mm-lp-ol {
  padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0 24px;
}
.mm-lp-ul li::before { content: '✓'; color: #6B21A8; font-weight: 900; margin-right: 10px; }
.mm-lp-ol { counter-reset: mm-ol; }
.mm-lp-ol li { counter-increment: mm-ol; }
.mm-lp-ol li::before {
  content: counter(mm-ol); background: #6B21A8; color: #fff;
  width: 24px; height: 24px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: .78rem; font-weight: 900;
  margin-right: 10px; flex-shrink: 0;
}

/* Kit cards grid */
.mm-lp-kits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 48px;
}
@media(max-width:700px) { .mm-lp-kits-grid { grid-template-columns: 1fr; } }
.mm-lp-kit-card {
  border: 2px solid #e5e7eb; border-radius: 20px; padding: 28px;
  background: #fff; position: relative; transition: all .22s ease;
  display: flex; flex-direction: column;
}
.mm-lp-kit-card:hover {
  border-color: #6B21A8; box-shadow: 0 8px 28px rgba(107,33,168,.15);
  transform: translateY(-4px);
}
.mm-lp-kit-card--featured {
  border-color: #6B21A8; background: linear-gradient(135deg,#f5f3ff,#ede9fe);
  box-shadow: 0 8px 28px rgba(107,33,168,.2);
}
.mm-lp-kit-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #FF6B35; color: #fff; padding: 4px 16px;
  border-radius: 50px; font-size: .75rem; font-weight: 900;
  white-space: nowrap;
}
.mm-lp-kit-icon {
  font-size: 2.8rem; margin-bottom: 12px; line-height: 1;
}
.mm-lp-kit-card h3 { font-size: 1.2rem; color: #280850; margin-bottom: 8px; font-weight: 900; }
.mm-lp-kit-price {
  font-size: 1.5rem; font-weight: 900; color: #6B21A8; margin: 12px 0;
}
.mm-lp-kit-price span { font-size: .9rem; font-weight: 600; color: #6b7280; }
.mm-lp-kit-ul {
  list-style: none; padding: 0; margin: 12px 0 20px; display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.mm-lp-kit-ul li::before { content: '✓'; color: #6B21A8; font-weight: 900; margin-right: 8px; }
.mm-lp-kit-ul li { font-size: .88rem; color: #374151; }

/* Tabla de precios/descuentos */
.mm-lp-precios-table {
  width: 100%; border-collapse: collapse; margin: 24px 0 40px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(107,33,168,.1);
}
.mm-lp-precios-table th {
  background: #6B21A8; color: #fff; padding: 14px 18px;
  text-align: left; font-weight: 800; font-size: .9rem;
}
.mm-lp-precios-table td {
  padding: 12px 18px; border-bottom: 1px solid #e5e7eb;
  font-size: .9rem; color: #374151;
}
.mm-lp-precios-table tr:last-child td { border-bottom: none; }
.mm-lp-precios-table tr:nth-child(even) td { background: #f5f3ff; }
.mm-lp-precios-table td.mm-lp-precios-highlight {
  color: #6B21A8; font-weight: 800;
}
@media(max-width:640px) {
  .mm-lp-precios-table { font-size: .8rem; }
  .mm-lp-precios-table th, .mm-lp-precios-table td { padding: 10px 12px; }
}

/* =====================================================
   AJUSTES HOME V2 · 2026-04-24
   ===================================================== */

/* 1. Contenedor global max-width 1300px + padding 10px */
.mm-container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 10px;
}

/* 2. Yellow keyword highlight */
.mm-highlight { color: #FBBF24; font-weight: 700; }

/* 3. Títulos blancos en secciones oscuras */
.mm-home-hero h1,
.mm-home-hero h2,
.mm-mundial-banner h2,
.mm-cta-section h2,
.mm-section--dark h1,
.mm-section--dark h2,
.mm-section--dark h3,
.mm-section--purple h1,
.mm-section--purple h2,
.mm-section--purple h3,
.mm-gallery-section h2 { color: #fff; }

/* 4. Scroll-reveal */
.mm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.mm-reveal.visible { opacity: 1; transform: none; }
.mm-reveal--d1 { transition-delay: .1s; }
.mm-reveal--d2 { transition-delay: .2s; }
.mm-reveal--d3 { transition-delay: .3s; }
.mm-reveal--d4 { transition-delay: .4s; }
.mm-reveal--d5 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .mm-reveal { opacity: 1; transform: none; }
}

/* 5. Animated scroll gallery — Trabajos realizados */
.mm-gallery-section {
  background: #0d0128;
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.mm-gallery-section-header {
  text-align: center;
  padding-inline: 10px;
  margin-bottom: 48px;
}
.mm-gallery-section-header p { color: rgba(255,255,255,.72); max-width: 560px; margin: 10px auto 0; font-size: .95rem; }
.mm-gallery-overflow { overflow: hidden; }
.mm-gallery-track {
  display: flex;
  gap: 20px;
  animation: mmScrollGallery 45s linear infinite;
  width: max-content;
}
.mm-gallery-overflow:hover .mm-gallery-track { animation-play-state: paused; }
@keyframes mmScrollGallery {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mm-gallery-card {
  width: 260px;
  min-height: 190px;
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mm-gallery-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.mm-gallery-card--purple { background: #6401B5; }
.mm-gallery-card--dark   { background: #1f0645; border: 1px solid rgba(255,255,255,.1); }
.mm-gallery-card--orange { background: #c2410c; }
.mm-gallery-card--blue   { background: #1e3a5f; }
.mm-gallery-card--teal   { background: #065f46; }
.mm-gallery-card-icon    { font-size: 2rem; line-height: 1; }
.mm-gallery-card-empresa { font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mm-gallery-card-producto { font-size: .97rem; font-weight: 700; color: #fff; line-height: 1.4; }
.mm-gallery-card-qty { font-size: .8rem; color: #FBBF24; font-weight: 700; margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .mm-gallery-track { animation: none; }
}

/* 6. Sección usos (eventos, branding, activaciones) */
.mm-usos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.mm-uso-card {
  border-radius: 14px;
  padding: 36px 26px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mm-uso-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.mm-uso-card--eventos   { background: linear-gradient(135deg,#1e3a5f,#2563eb); color:#fff; }
.mm-uso-card--branding  { background: linear-gradient(135deg,#4c1d95,#7c3aed); color:#fff; }
.mm-uso-card--act       { background: linear-gradient(135deg,#7c2d12,#f05215); color:#fff; }
.mm-uso-card--onboard   { background: linear-gradient(135deg,#064e3b,#10b981); color:#fff; }
.mm-uso-card--feria     { background: linear-gradient(135deg,#1e40af,#3b82f6); color:#fff; }
.mm-uso-card--regalo    { background: linear-gradient(135deg,#831843,#ec4899); color:#fff; }
.mm-uso-icon  { font-size: 2.6rem; margin-bottom: 14px; }
.mm-uso-title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.mm-uso-desc  { font-size: .82rem; opacity: .88; line-height: 1.55; }
@media (max-width: 768px) { .mm-usos-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .mm-usos-grid { grid-template-columns: 1fr; } }

/* 7. Blog SEO section */
.mm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.mm-blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.mm-blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(100,1,181,.14); }
.mm-blog-card-img {
  height: 170px;
  background: linear-gradient(135deg,#6401B5,#9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  overflow: hidden;
}
.mm-blog-card-img img { width:100%; height:100%; object-fit:cover; }
.mm-blog-card-body { padding: 22px; flex:1; display:flex; flex-direction:column; }
.mm-blog-card-cat { font-size:.7rem; color:#6401B5; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.mm-blog-card-title { font-size:.95rem; font-weight:700; color:#280850; line-height:1.4; margin-bottom:10px; }
.mm-blog-card-title a { color:inherit; text-decoration:none; }
.mm-blog-card-title a:hover { color:#6401B5; }
.mm-blog-card-excerpt { font-size:.83rem; color:#6b7280; line-height:1.6; flex:1; }
.mm-blog-card-footer { margin-top:14px; display:flex; justify-content:space-between; align-items:center; }
.mm-blog-card-date { font-size:.72rem; color:#9ca3af; }
.mm-blog-card-link { font-size:.78rem; color:#6401B5; font-weight:700; text-decoration:none; }
.mm-blog-card-link:hover { color:#f05215; }
.mm-blog-empty { text-align:center; padding:60px 20px; color:#9ca3af; }
.mm-blog-empty span { font-size:3rem; display:block; margin-bottom:16px; }
@media (max-width: 768px) { .mm-blog-grid { grid-template-columns: 1fr; } }

/* 8. Logo galleries (clientes + aliados) */
.mm-logos-section { padding: 48px 0; overflow: hidden; }
.mm-logos-section--light { background: #f9f8ff; }
.mm-logos-section--dark  { background: #0d0128; }
.mm-logos-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9ca3af;
  margin-bottom: 24px;
}
.mm-logos-section--dark .mm-logos-label { color: rgba(255,255,255,.35); }
.mm-logos-track-wrap { overflow: hidden; }
.mm-logos-track {
  display: flex;
  gap: 0;
  animation: mmScrollGallery 28s linear infinite;
  width: max-content;
}
.mm-logos-track:hover { animation-play-state: paused; cursor: default; }
.mm-logo-item {
  flex-shrink: 0;
  width: 160px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-right: 1px solid rgba(0,0,0,.07);
  transition: background .2s;
}
.mm-logo-item:hover { background: rgba(100,1,181,.06); }
.mm-logos-section--dark .mm-logo-item { border-right-color: rgba(255,255,255,.07); }
.mm-logos-section--dark .mm-logo-item:hover { background: rgba(255,255,255,.07); }
.mm-logo-text {
  font-size: .78rem;
  font-weight: 800;
  color: #9ca3af;
  text-align: center;
  line-height: 1.25;
}
.mm-logos-section--dark .mm-logo-text { color: rgba(255,255,255,.45); }
@media (prefers-reduced-motion: reduce) {
  .mm-logos-track { animation: none; }
}

/* 9. Cotizador contact block */
.mm-cotizador-contacto {
  background: linear-gradient(135deg,#1a0435,#6401B5);
  border-radius: 16px;
  padding: 40px 36px;
  color: #fff;
  text-align: center;
  margin-top: 32px;
}
.mm-cotizador-contacto h3 { color:#fff; margin-bottom:8px; font-size:1.2rem; }
.mm-cotizador-contacto p  { color:rgba(255,255,255,.8); margin-bottom:24px; font-size:.9rem; }
.mm-cot-contact-btns { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:24px; }
.mm-cot-social-row { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:16px; }
.mm-cot-social-link {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.8rem; color:rgba(255,255,255,.7); text-decoration:none;
  border:1px solid rgba(255,255,255,.25); border-radius:50px;
  padding:6px 14px; transition:background .2s, color .2s;
}
.mm-cot-social-link:hover { background:rgba(255,255,255,.12); color:#fff; }

/* ═══════════════════════════════════════════════════════════
   AJUSTES HOME V3 · 2026-04-24
   1. Títulos blancos en fondos oscuros (cobertura completa)
   2. Mundial banner v2 — product showcase
   3. 4-pasos — animación interactiva
   ═══════════════════════════════════════════════════════════ */

/* 1 · TÍTULOS BLANCOS — cobertura amplia con !important */
.mm-hero h1, .mm-hero h2, .mm-hero h3,
.mm-hero-title,
.mm-mundial-banner h1, .mm-mundial-banner h2, .mm-mundial-banner h3,
.mm-gallery-section h1, .mm-gallery-section h2,
.mm-logos-section--dark h1, .mm-logos-section--dark h2,
.mm-kit-section h2, .mm-kit-section h3 {
  color: #fff !important;
}
/* Span de keyword destacada en fondos oscuros → amarillo quemado */
.mm-hero h1 span, .mm-hero h2 span, .mm-hero-title span,
.mm-mundial-banner h2 span,
.mm-kit-section h2 span { color: #FBBF24 !important; }

/* 2 · MUNDIAL BANNER V2 — product showcase ───────────────── */
.mm-mundial-prod-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 18px;
}
.mm-mundial-prod-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  transition: transform .35s ease, border-color .35s ease;
}
.mm-mundial-prod-thumb:hover {
  transform: scale(1.04);
  border-color: #FBBF24;
}
.mm-mundial-prod-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mm-mundial-oportunidad {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.4);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  color: #FBBF24;
  margin-bottom: 10px;
}
.mm-mundial-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; margin-bottom: 4px;
}
.mm-mundial-tag {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .78rem; color: #fff; font-weight: 600;
}

/* 3 · PROCESO 4 PASOS — animación interactiva ─────────────── */
.mm-proceso-4-wrap { position: relative; margin-top: 56px; }
.mm-proceso-4-line { position: absolute; left: 12%; right: 12%; top: 30px; height: 4px; background: #e5e7eb; border-radius: 4px; z-index: 0; }
.mm-paso-progress-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(to right, #6401B5, #F97316);
  border-radius: 4px; width: 0%;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.mm-proceso-4-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; position: relative; z-index: 1;
}
.mm-paso {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px 24px;
  border: 2px solid #ede9fe;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor: default;
}
.mm-paso:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(100,1,181,.12); }
.mm-paso-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6401B5;
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
  position: relative; z-index: 1;
}
.mm-paso h3 { font-size: 1rem; font-weight: 700; color: #1f2937; margin-bottom: 8px; transition: color .3s; }
.mm-paso p  { font-size: .875rem; color: #6b7280; line-height: 1.55; margin: 0; }
/* Active state (JS-driven) */
.mm-paso--active {
  border-color: #F97316;
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(249,115,22,.18);
}
.mm-paso--active .mm-paso-num {
  background: linear-gradient(135deg, #F97316, #ea580c);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 7px rgba(249,115,22,.15);
}
.mm-paso--active h3 { color: #F97316; }
/* Done state */
.mm-paso--done { border-color: #ede9fe; }
.mm-paso--done .mm-paso-num { background: #6401B5; color: #fff; }
.mm-paso--done .mm-paso-num::after {
  content: '✓';
  position: absolute;
  font-size: .85rem;
}
/* Paso icon */
.mm-paso-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
@media (max-width: 768px) {
  .mm-proceso-4-grid { grid-template-columns: repeat(2,1fr); }
  .mm-proceso-4-line { display: none; }
}
@media (max-width: 480px) {
  .mm-proceso-4-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   AJUSTE STATS FONDOS OSCUROS · 2026-04-24
   Aplica colores correctos cuando .mm-stats usa fondo oscuro
   (#6401B5). No afecta .mm-stats-strip (fondo blanco, home).
   ═══════════════════════════════════════════════════════════ */
.mm-stats .mm-stat-big            { color: #fff !important; }
.mm-stats .mm-stat-big .mm-suf   { color: #FBBF24 !important; }
.mm-stats .mm-stat-desc           { color: rgba(255,255,255,.78) !important; }

/* ═══════════════════════════════════════════════════════════
   BOTONES CTA — FICHA DE PRODUCTO (WooCommerce single)
   ═══════════════════════════════════════════════════════════ */
.markmelo-product-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 8px;
}
.mm-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.mm-product-btn--wa   { background: #25D366; color: #fff !important; border-color: #25D366; }
.mm-product-btn--wa:hover { background: #1cb85a; border-color: #1cb85a; color: #fff !important; }
.mm-product-btn--primary { background: #6401B5; color: #fff !important; border-color: #6401B5; }
.mm-product-btn--primary:hover { background: #4d0189; border-color: #4d0189; color: #fff !important; }
.mm-product-btn--outline { background: #fff; color: #444 !important; border-color: #d1d5db; }
.mm-product-btn--outline:hover { border-color: #6401B5; color: #6401B5 !important; }
.mm-product-btn--urgent { background: linear-gradient(135deg,#F97316,#ea580c); color: #fff !important; border-color: transparent; }
.mm-product-btn--urgent:hover { background: linear-gradient(135deg,#ea580c,#c2410c); color: #fff !important; }

/* Ocultar botón de carrito y cantidad en fichas de producto — solo cotización */
.single-product .cart,
.single-product .woocommerce-variation-add-to-cart,
.single-product .single_add_to_cart_button { display: none !important; }

/* Descripción larga en ficha de producto */
.markmelo-product-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}
.markmelo-product-desc p { margin-bottom: 10px; }

/* Títulos de producto más grandes */
.single-product .product_title { font-size: clamp(1.4rem, 2.5vw, 2rem) !important; }

/* ═══════════════════════════════════════════════════════════
   BLOQUE PROCESO EN FICHA DE PRODUCTO
   ═══════════════════════════════════════════════════════════ */
.markmelo-proceso-strip {
  background: #faf9ff;
  border-top: 1px solid #ede9fe;
  padding: 48px 0;
}
.markmelo-proceso-strip__label {
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6401B5;
  margin-bottom: 8px;
}
.markmelo-proceso-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.markmelo-proceso-paso {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  border: 2px solid #e5e7eb;
  transition: border-color .25s, box-shadow .25s;
}
.markmelo-proceso-paso h4 { font-size: .92rem; font-weight: 700; color: #1f2937; margin: 8px 0 6px; }
.markmelo-proceso-paso p  { font-size: .78rem; color: #6b7280; line-height: 1.5; margin: 0; }
.markmelo-proceso-icon { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.markmelo-proceso-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6401B5;
  font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
/* Estado activo (paso actual) */
.markmelo-proceso-paso.is-active {
  border-color: #F97316;
  box-shadow: 0 8px 28px rgba(249,115,22,.15);
}
.markmelo-proceso-paso.is-active .markmelo-proceso-num {
  background: linear-gradient(135deg,#F97316,#ea580c);
  color: #fff;
}
.markmelo-proceso-paso.is-active h4 { color: #F97316; }
/* Estado completado */
.markmelo-proceso-paso.is-done .markmelo-proceso-num {
  background: #6401B5; color: #fff;
}
@media (max-width: 768px) {
  .markmelo-proceso-strip__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .markmelo-proceso-strip__grid { grid-template-columns: 1fr; }
}

/* ── Social media footer bar ─────────────────────────────── */
.mm-footer-social {
  background: #130820;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mm-social-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #bbb;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.mm-social-link:hover {
  transform: scale(1.12);
  color: #fff;
}
.mm-social-link--fb:hover  { background: #1877f2; }
.mm-social-link--ig:hover  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.mm-social-link--li:hover  { background: #0a66c2; }
.mm-social-link--pi:hover  { background: #e60023; }
.mm-social-link--tt:hover  { background: #010101; }
.mm-social-link--yt:hover  { background: #ff0000; }
.mm-social-link--ml:hover  { background: #ffe600; color: #333; }
@media (max-width: 600px) {
  .mm-social-grid { gap: 10px; }
  .mm-social-link { width: 36px; height: 36px; }
}

/* ── AUDIT FIX 2026-04-25: texto blanco en secciones oscuras + fixes mobile ── */

/* Galería de trabajos — body text blanco */
.mm-gallery-section-header p,
.mm-gallery-section-header .mm-label,
.mm-gallery-card-empresa,
.mm-gallery-card-producto,
.mm-gallery-card-qty { color: rgba(255,255,255,.88); }

/* CTA final — subtítulo y garantías blancos */
.mm-cta-sub,
.mm-cta-guarantee { color: rgba(255,255,255,.82); }
.mm-cta-guarantee-check { color: #FBBF24; }

/* Mundial banner — todos los textos claros */
.mm-mundial-content p,
.mm-mundial-lead { color: rgba(255,255,255,.88) !important; }

/* Kit section — subtítulo y features */
.mm-kit-lead,
.mm-kit-feat-sub { color: rgba(255,255,255,.78); }
.mm-kit-label { color: rgba(255,255,255,.55); }

/* Logos dark strip — label visible */
.mm-logos-section--dark .mm-logos-label { color: rgba(255,255,255,.5); }

/* Proceso 4 pasos — H3 sobre fondo blanco de card: asegurar dark */
.mm-paso h3 { color: #1a1a2e !important; }
.mm-paso p  { color: #4b5563 !important; }

/* Stats strip — texto correcto sobre fondo claro */
.mm-stat-desc { color: #6b7280; }
.mm-stat-big  { color: #6B21A8; }

/* Mobile: hero floating badges ocultos (ya fijados arriba, refuerzo) */
@media (max-width: 1024px) {
  .mm-home-hero-float { display: none !important; }
}

/* Mobile 480px: mundial content padding */
@media (max-width: 480px) {
  .mm-mundial-banner { padding: 40px 0; }
  .mm-mundial-image > img { max-height: 160px; }
  .mm-mundial-prod-grid { gap: 6px; }
}

/* ── COTIZADOR — nuevos elementos 2026-04-25 ── */
.cotizador-marcacion-msg {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-left: 4px solid #6B21A8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .92rem;
  color: #374151;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .4s ease, transform .4s ease;
}
.cotizador-marcacion-msg.visible {
  opacity: 1;
  transform: translateY(0);
}
.cotizador-disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: .88rem;
  color: #92400e;
  line-height: 1.6;
}
.cotizador-disclaimer p { margin: 0 0 6px; }
.cotizador-disclaimer p:last-child { margin-bottom: 0; }
.cotizador-highlight-yellow {
  background: #fbbf24;
  color: #1a1a1a;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.cotizador-total-row--total {
  font-size: 1.1rem;
  font-weight: 800;
  color: #6B21A8;
  border-top: 2px solid #e5e7eb;
  padding-top: 8px;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — Portada + Grid de artículos (v2)
   ══════════════════════════════════════════════════════════════════ */

/* Forzar full-width en página de blog/archivo */
body.blog .site-content,
body.archive .site-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.blog #primary,
body.archive #primary {
  width: 100% !important;
  padding: 0 !important;
}

/* ── HERO PORTADA ──────────────────────────────────────────────── */
.mm-blog-hero {
  background: linear-gradient(135deg, #3b0764 0%, #6401b5 55%, #9333ea 100%);
  padding: 64px 24px 72px;
  text-align: center;
  color: #fff;
}
.mm-blog-hero__inner { max-width: 680px; margin: 0 auto; }
.mm-blog-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #e9d5ff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.mm-blog-hero__title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 14px;
  line-height: 1.15;
}
.mm-blog-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin: 0;
}

/* ── BLOG WRAPPER ───────────────────────────────────────────────── */
.mm-blog-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 72px;
}

/* ── POST CARD ─────────────────────────────────────────────────── */
.mm-post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.mm-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(100,1,181,.14);
}

/* Imagen */
.mm-post-card__img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #6401b5, #a855f7);
  text-decoration: none;
}
.mm-post-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  transition: transform .3s ease;
}
.mm-post-card:hover .mm-post-card__img { transform: scale(1.05); }
.mm-post-card__img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5b21b6, #9333ea, #c084fc);
}

/* Badge categoría */
.mm-post-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #6401b5;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cuerpo */
.mm-post-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mm-post-card__title {
  font-size: .96rem;
  font-weight: 700;
  color: #1e1b4b;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mm-post-card__title a { color: inherit; text-decoration: none; }
.mm-post-card__title a:hover { color: #6401b5; }
.mm-post-card__excerpt {
  font-size: .83rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pie */
.mm-post-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
  margin-top: auto;
}
.mm-post-card__date { font-size: .72rem; color: #9ca3af; }
.mm-post-card__cta { font-size: .78rem; color: #6401b5; font-weight: 700; text-decoration: none; }
.mm-post-card__cta:hover { color: #f05215; }

/* ── PAGINACIÓN ────────────────────────────────────────────────── */
.mm-blog-pag {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mm-blog-pag .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #4c1d95;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.mm-blog-pag .page-numbers.current,
.mm-blog-pag .page-numbers:hover:not(.dots) {
  background: #6401b5;
  color: #fff;
  border-color: #6401b5;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .mm-blog-wrap { padding: 36px 20px 56px; }
}
@media (max-width: 580px) {
  .mm-blog-hero { padding: 48px 20px 56px; }
  .mm-blog-wrap { padding: 28px 16px 48px; }
}
