/* =========================================================
   Club Emprendedor - Premium UI Redesign
   ========================================================= */

:root {
  /* Premium Dark/Light Theme Colors */
  --bg: #0b0c10;
  --bg-soft: #14151a;
  /* Papel cálido (showcase, bandas claras) — no usar como fondo global oscuro */
  --bg-cream: #f2e8db;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --ink: #ffffff;
  --ink-soft: #b4bdce;
  --ink-mute: #6e7687;
  /* Texto oscuro sobre fondos claros (botones blancos, tarjetas, bandas crema) */
  --ink-on-light: #12141a;
  --ink-muted-on-light: #423d36;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);

  /* Vibrant Accents */
  --primary: #f26b0a;
  --primary-strong: #ff8a2b;
  --primary-soft: rgba(242, 107, 10, 0.15);
  --primary-glow: rgba(242, 107, 10, 0.6);

  --secondary: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.4);

  --hero: #000000;
  --hero-soft: #0b0c10;

  --ok: #10b981;
  --danger: #ef4444;

  /* Modern Radius */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;

  /* Deep Shadows & Glows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-glow);
  
  /* Glassmorphism */
  --glass-bg: rgba(20, 21, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  /* Dropdown móvil del menú (#siteNav cuando .is-open) */
  --header-mobile-sheet-bg: rgba(18, 17, 20, 0.94);
  --header-mobile-sheet-border: rgba(255, 255, 255, 0.1);

  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "Manrope", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 0%, rgba(242, 107, 10, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sitio público: shell claro; barra de navegación oscura (alineada al resto del sitio) */
body:not(.is-admin-view) {
  --header-mobile-sheet-bg: rgba(16, 15, 20, 0.97);
  --header-mobile-sheet-border: rgba(242, 107, 10, 0.28);
  background-color: #fff9f2;
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -25%, rgba(242, 107, 10, 0.09) 0%, transparent 52%),
    radial-gradient(circle at 92% 15%, rgba(99, 102, 241, 0.06) 0%, transparent 42%);
}

/* Páginas PHP (directorio, contacto, cómo funciona…): texto y tarjetas legibles en claro */
body.no-hero:not(.is-admin-view) {
  color: var(--ink-on-light);
}

body.no-hero:not(.is-admin-view) .section-title,
body.no-hero:not(.is-admin-view) .page-title {
  color: #14151a;
}

body.no-hero:not(.is-admin-view) .section-lead,
body.no-hero:not(.is-admin-view) .page-lead {
  color: #4a5568;
}

body.no-hero:not(.is-admin-view) .card {
  background: #ffffff;
  border: 1px solid rgba(15, 17, 22, 0.08);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  color: #3d4556;
}

body.no-hero:not(.is-admin-view) .card h1,
body.no-hero:not(.is-admin-view) .card h2,
body.no-hero:not(.is-admin-view) .card h3 {
  color: #14151a;
}

body.no-hero:not(.is-admin-view) .field label {
  color: #5c6570;
}

/* Banda CTA tipo como-funciona */
body.no-hero:not(.is-admin-view) .cta-band {
  text-align: center;
  padding: 48px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fff5ea 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(242, 107, 10, 0.18);
  box-shadow: 0 8px 32px rgba(90, 55, 30, 0.06);
}

body.no-hero:not(.is-admin-view) .cta-band .section-title {
  color: #14151a;
}

body.no-hero:not(.is-admin-view) .cta-band .section-lead {
  color: #4a5568;
}

/* Footer claro en todo el sitio público (misma línea que la landing) */
body:not(.is-admin-view) .site-footer {
  background: #ebe6dd;
  color: #3d3830;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body:not(.is-admin-view) .footer-grid h4 {
  color: #2d2820;
}

body:not(.is-admin-view) .footer-grid a {
  color: rgba(45, 40, 32, 0.78);
}

body:not(.is-admin-view) .footer-grid a:hover {
  color: #1a1612;
}

body:not(.is-admin-view) .footer-brand p {
  color: rgba(45, 40, 32, 0.72);
}

body:not(.is-admin-view) .footer-bar {
  border-top-color: rgba(0, 0, 0, 0.08);
  color: rgba(45, 40, 32, 0.55);
}

body:not(.is-admin-view) .footer-bar a:hover {
  color: #1a1612;
}

body:not(.is-admin-view) .footer-brand .brand,
body:not(.is-admin-view) .footer-brand .brand span {
  color: #1f1a17;
}

/* Directorio: armonizar con crema en lugar de gris frío */
body.no-hero:not(.is-admin-view) .page-main.ml-layout,
body.no-hero:not(.is-admin-view) .directorio-bg.page-main.ml-layout,
body.no-hero:not(.is-admin-view) .ml-layout {
  background: #f5f1eb !important;
  color: #0f1218;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* =========================================================
   Header Glassmorphism
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 20px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}
/* Barra superior: tema oscuro / cristal en todo el sitio público (Inicio, directorio, etc.) */
body:not(.is-admin-view) .site-header {
  background: linear-gradient(
    180deg,
    rgba(12, 13, 18, 0.94) 0%,
    rgba(15, 16, 22, 0.9) 100%
  ) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 107, 10, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.45);
}

body:not(.is-admin-view) .site-header.is-scrolled {
  background: linear-gradient(
    180deg,
    rgba(15, 16, 22, 0.98) 0%,
    rgba(10, 11, 15, 0.96) 100%
  ) !important;
  border-bottom-color: rgba(242, 107, 10, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.5);
}

body:not(.is-admin-view) .site-header .brand {
  color: #f4f4f5;
}

body:not(.is-admin-view) .site-header .brand-logo {
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(242, 107, 10, 0.3);
}

body:not(.is-admin-view) .site-header .nav a {
  color: rgba(228, 228, 231, 0.85);
}

body:not(.is-admin-view) .site-header .nav a:hover {
  color: #fff;
  background: rgba(242, 107, 10, 0.18);
}

body:not(.is-admin-view) .site-header .nav a.active {
  color: #ffb46b;
  background: rgba(242, 107, 10, 0.2);
  border: 1px solid rgba(242, 107, 10, 0.45);
}

body:not(.is-admin-view) .site-header .mobile-menu-btn {
  color: #e4e4e7;
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 24px;
}
.brand {
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}
.brand-logo {
  width: auto;
  height: 42px;
  max-height: 48px;
  max-width: min(200px, 44vw);
  border-radius: 10px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(242, 107, 10, 0.3);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nav a {
  color: var(--ink-soft);
  font-size: 14.5px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav a:hover { 
  color: #fff; 
  background: var(--surface-hover); 
}
.nav a.active { 
  color: #fff; 
  background: var(--primary-soft); 
  border: 1px solid rgba(242, 107, 10, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none !important;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 768px) {
  .nav:not(.is-open) { display: none !important; }
  .mobile-menu-btn { display: block !important; }
}

body { padding-top: 0; }
body.no-hero { padding-top: 80px; }
.directorio-bg { background-color: transparent; min-height: 100vh; }

/* =========================================================
   Botones
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #ff8a2b 0%, var(--primary) 50%, var(--primary-strong) 100%);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff9b45 0%, #f77a1e 50%, #d95a04 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--primary-glow), 0 0 15px var(--primary-glow);
}
.btn-light {
  background: #fff;
  color: var(--ink-on-light);
  border-color: rgba(18, 20, 26, 0.14);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(18, 20, 26, 0.22);
  color: var(--ink-on-light);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost-dark,
.btn-muted {
  border-color: rgba(18, 20, 26, 0.2);
  color: var(--ink-on-light);
  background: #fff;
}
.btn-ghost-dark:hover,
.btn-muted:hover {
  background: rgba(18, 20, 26, 0.07);
  border-color: rgba(18, 20, 26, 0.28);
}
.btn-block { width: 100%; }

/* =========================================================
   Tipografía y secciones
   ========================================================= */

.section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-strong);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.14;
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-title em { font-style: normal; color: var(--primary); }
.section-lead {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 720px;
}
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }

/* =========================================================
   1. HERO PREMIUM
   ========================================================= */

.hero-home {
  /* Un solo naranja para acentos (mismo centro que Explorar directorio) */
  --hero-orange: var(--primary);

  position: relative;
  color: #fff;
  padding: 180px 0 120px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  background-image: url("fotos-y-logos/hero-principal.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Foto más difusa: vidrio térmico + velo café muy suave (sin contraste fuerte) */
  -webkit-backdrop-filter: blur(6px) saturate(1.04);
  backdrop-filter: blur(6px) saturate(1.04);
  transform: translateZ(0);
  background:
    radial-gradient(
      ellipse 120% 92% at 50% 28%,
      rgba(88, 72, 60, 0.22) 0%,
      rgba(118, 98, 80, 0.1) 48%,
      transparent 74%
    ),
    linear-gradient(
      165deg,
      rgba(58, 48, 40, 0.12) 0%,
      rgba(248, 238, 224, 0.14) 42%,
      rgba(236, 222, 200, 0.16) 58%,
      rgba(76, 60, 48, 0.18) 100%
    );
  z-index: 1;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  /* Fundición hacia crema — sin franja oscura tipo “tubo” a lo ancho de la página */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(252, 248, 242, 0.35) 45%,
    rgba(248, 243, 236, 0.88) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #fff;
  background: var(--hero-orange);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 24px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px rgba(242, 107, 10, 0.35);
  text-shadow: 0 1px 2px rgba(52, 28, 8, 0.35);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 auto 24px;
  max-width: 900px;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow:
    0 1px 3px rgba(40, 28, 22, 0.45),
    0 4px 20px rgba(60, 42, 30, 0.35),
    0 14px 42px rgba(50, 38, 28, 0.2);
}

/* Misma familia que el botón principal (sin segundo tono melocotón) */
.hero-title em {
  font-style: normal;
  color: var(--hero-orange);
  text-shadow:
    0 1px 3px rgba(42, 22, 6, 0.55),
    0 0 20px rgba(242, 107, 10, 0.45),
    0 6px 22px rgba(120, 50, 8, 0.35);
}
.hero-sub {
  margin: 0 auto 40px;
  max-width: 700px;
  color: rgba(255, 252, 248, 0.96);
  font-size: 18px;
  line-height: 1.65;
  text-shadow:
    0 1px 2px rgba(58, 44, 36, 0.4),
    0 2px 16px rgba(90, 68, 50, 0.2);
}
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* CTA principal hero: mismo naranja sólido (--primary), sin degradé del botón global */
.hero-home .hero-cta .btn-primary {
  background: var(--hero-orange);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 28px rgba(242, 107, 10, 0.42);
}
.hero-home .hero-cta .btn-primary:hover {
  background: #e06008;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 14px 36px rgba(242, 107, 10, 0.48);
}

/* Hero en dos columnas + panel “actividad en vivo” (landing) */
.hero-inner--split {
  display: grid;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
}

.hero-inner--split .hero-copy {
  min-width: 0;
}

.hero-live-wrap {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  perspective: 1200px;
}

@media (min-width: 1024px) {
  .hero-inner--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 400px);
    text-align: left;
  }

  .hero-inner--split .hero-title,
  .hero-inner--split .hero-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-inner--split .hero-cta {
    justify-content: flex-start;
  }

  .hero-live-wrap {
    margin-inline: 0;
    justify-self: end;
  }
}

@media (max-width: 1023px) {
  .hero-inner--split .hero-copy {
    text-align: center;
  }

  .hero-inner--split .hero-cta {
    justify-content: center;
  }

  .live-activity-card {
    transform: none;
  }

  .hero-live-wrap:hover .live-activity-card {
    transform: translateY(-2px);
  }
}

.live-activity-card {
  --live-accent: #10b981;
  --live-accent-soft: rgba(16, 185, 129, 0.35);
  --live-surface: rgba(18, 20, 28, 0.72);

  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(155deg, rgba(30, 32, 42, 0.92) 0%, rgba(14, 16, 22, 0.94) 100%);
  box-shadow:
    0 24px 60px rgba(8, 10, 18, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(242, 107, 10, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: rotateX(2deg) rotateY(-3deg);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.hero-live-wrap:hover .live-activity-card {
  transform: rotateX(0deg) rotateY(-1deg) translateY(-3px);
  box-shadow:
    0 30px 72px rgba(8, 10, 18, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(242, 107, 10, 0.14);
}

.live-activity-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-activity-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-activity-card__logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  border-radius: 11px;
  background: linear-gradient(135deg, #7c3aed 0%, #f26b0a 100%);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.live-activity-card__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.live-activity-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #f4f6fb;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-activity-card__subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgba(200, 208, 220, 0.78);
}

.live-activity-card__pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--live-accent);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.55);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.live-activity-card__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-accent);
  box-shadow: 0 0 0 0 var(--live-accent-soft);
  animation: livePulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    transform: scale(1);
  }
}

.live-activity-card__body {
  padding: 12px 12px 8px;
}

.live-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 9.5rem;
}

.live-activity-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border-radius: 12px;
  background: var(--live-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.live-activity-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--live-accent) 0%, rgba(16, 185, 129, 0.35) 100%);
  opacity: 0.35;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.live-activity-row--fresh::before {
  opacity: 1;
  box-shadow: 0 0 16px var(--live-accent-soft);
  animation: liveEdgeShimmer 2.2s ease-in-out 1;
}

@keyframes liveEdgeShimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  40% {
    filter: brightness(1.25);
  }
}

.live-activity-row:hover {
  background: rgba(26, 29, 40, 0.88);
  border-color: rgba(16, 185, 129, 0.22);
  transform: translateY(-1px);
}

.live-activity-row:hover::before {
  opacity: 0.95;
}

.live-activity-row__icon {
  color: #0d9f6e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-activity-row__check {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.35));
}

.live-activity-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.live-activity-row__title {
  font-size: 13px;
  font-weight: 800;
  color: #f4f6fb;
  letter-spacing: -0.02em;
}

.live-activity-row__sub {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(186, 194, 210, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-activity-row__meta {
  font-size: 12px;
  font-weight: 800;
  color: rgba(200, 208, 220, 0.88);
  white-space: nowrap;
}

.live-activity-row__meta--highlight {
  color: #34f5c0;
  text-shadow: 0 0 18px rgba(52, 245, 192, 0.45);
}

.live-activity-row--enter {
  animation: liveRowEnter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes liveRowEnter {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.live-activity-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(180, 188, 202, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.live-activity-card__foot svg {
  flex-shrink: 0;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .live-activity-card {
    transform: none;
  }

  .hero-live-wrap:hover .live-activity-card {
    transform: none;
  }

  .live-activity-card__pulse {
    animation: none;
    box-shadow: none;
  }

  .live-activity-row--enter {
    animation: none;
  }

  .live-activity-row--fresh::before {
    animation: none;
  }
}

/* =========================================================
   2. MÉTRICAS (Premium Cards)
   ========================================================= */

.metrics {
  padding: 0;
  /* Fondo claro únicamente detrás/alrededor del recuadro (full bleed), no detrás solo “la línea” oscura del body */
  background: #f8f3ec;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  /* Opaco: evita que el crema del marketplace + el oscuro del body se vean a la vez */
  background: linear-gradient(165deg, #15171f 0%, #101118 45%, #14161d 100%);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(242, 107, 10, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.metric-cell { text-align: center; }
.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  background: linear-gradient(135deg, #ffaa55 0%, var(--primary-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-label {
  display: block;
  margin-top: 8px;
  color: rgba(220, 226, 238, 0.92);
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   3. INTRO (título + lead simples)
   ========================================================= */

.intro { background: var(--bg-soft); padding: 50px 0 20px; text-align: center; }
.intro .section-title { max-width: 820px; margin-inline: auto; }
.intro .section-lead { margin-inline: auto; }

/* =========================================================
   4. FEATURES (Cómo funciona) — pasos claros, color plano, sin degradés
   ========================================================= */

.features {
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features-steps {
  position: relative;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
  background: #f8f3ec;
}

.features-steps::before,
.features-steps::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: 0;
}

.features-steps::before {
  width: min(340px, 55vw);
  height: min(340px, 55vw);
  background: rgba(242, 107, 10, 0.09);
  top: -120px;
  right: -80px;
}

.features-steps::after {
  width: min(260px, 45vw);
  height: min(260px, 45vw);
  background: rgba(29, 99, 216, 0.07);
  bottom: -100px;
  left: -60px;
}

.features-steps > .container {
  position: relative;
  z-index: 1;
}

.features-head {
  margin-bottom: 22px;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 4px;
}

.features-steps__kicker {
  display: inline-block;
  margin-bottom: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f26b0a;
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.features-steps__title {
  margin-top: 12px;
  text-wrap: balance;
  color: #1e1a17;
}

.features-head .section-title {
  text-wrap: balance;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-steps-grid {
  gap: 16px;
}

.feature-card.feature-step-card {
  --step-accent: #e85d04;
  background: #fff;
  border: 2px solid #e8dfd4;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(62, 42, 28, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: visible;
}

.feature-step-card--1 {
  --step-accent: #e85d04;
}

.feature-step-card--2 {
  --step-accent: #1d63d8;
}

.feature-step-card--3 {
  --step-accent: #a16207;
}

.feature-step-card::before {
  display: none;
}

.feature-step-card:hover,
.feature-step-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(62, 42, 28, 0.12);
  border-color: var(--step-accent);
}

.feature-card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  padding: 18px 18px 18px 14px;
  align-items: start;
}

.feature-wow-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transform-origin: center center;
}

.feature-step-card.is-visible .feature-wow-wrap {
  animation: feature-wow-pop 0.62s cubic-bezier(0.34, 1.45, 0.64, 1) both;
  animation-delay: calc(var(--delay, 0ms) + 0.1s);
}

.feature-wow-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--step-accent);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.feature-step-card.is-visible .feature-wow-ping {
  animation: feature-step-ping 2.4s ease-out infinite;
  animation-delay: calc(var(--delay, 0ms) + 0.45s);
}

.feature-wow {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--step-accent);
  border: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.feature-wow-svg {
  width: 26px;
  height: 26px;
  display: block;
}

@keyframes feature-wow-pop {
  0% {
    opacity: 0;
    transform: scale(0.45) rotate(-14deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.feature-card-copy {
  min-width: 0;
}

.feature-step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1e1a17;
  line-height: 1.28;
}

.feature-step-card p {
  margin: 0;
  color: #4a433c;
  font-size: 14px;
  line-height: 1.58;
}

@keyframes feature-step-ping {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-step-card.is-visible .feature-wow-wrap {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .feature-step-card.is-visible .feature-wow-ping {
    animation: none !important;
    opacity: 0;
    transform: none;
  }
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(242, 107, 10, 0.2), rgba(99, 102, 241, 0.2));
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .features-steps {
    padding: 60px 0 76px;
  }

  .features-head {
    margin-bottom: 36px;
  }

  .feature-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    position: relative;
  }

  .feature-steps-grid::before {
    content: "";
    position: absolute;
    top: 44px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 0;
    border-top: 3px dashed #c9bfb2;
    z-index: 0;
    pointer-events: none;
  }

  .feature-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 20px 24px;
    gap: 0;
    position: relative;
    z-index: 1;
  }

  .feature-wow-wrap {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .feature-wow {
    width: 60px;
    height: 60px;
  }

  .feature-wow-svg {
    width: 29px;
    height: 29px;
  }

  .feature-card-copy {
    text-align: center;
  }

  .feature-step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .feature-step-card p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 34ch;
    margin-inline: auto;
  }
}

/* =========================================================
   5–6. BENEFITS + STACK — canal vertical tipo “broadcast”
   Sin carrusel ni cajas: riel luminoso + filas tipográficas
   ========================================================= */

.benefits {
  background: transparent;
  padding: 80px 0 52px;
  color: var(--ink-on-light);
}
.benefits .section-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 480px;
  margin-inline: auto;
  padding-inline: 8px;
}
.benefits .section-title {
  text-wrap: balance;
  color: #14151a;
}
.benefits .section-head .eyebrow {
  color: #b45309;
}

.benefits-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(15, 17, 22, 0.08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(circle at 20% 10%, rgba(242, 107, 10, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(15, 23, 42, 0.06) 0%, transparent 42%);
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  background: #0f1218;
  box-shadow:
    0 10px 26px rgba(15, 18, 24, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
  position: relative;
  z-index: 1;
}

.benefit-card__content {
  position: relative;
  z-index: 1;
}

.benefit-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #14151a;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.benefit-card__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #3d4a5c;
}

@media (max-width: 720px) {
  .benefits-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.stack {
  background: transparent;
  padding: 52px 0 96px;
  position: relative;
  color: var(--ink-on-light);
}
.stack-head {
  margin-inline: auto;
  margin-bottom: 36px;
  padding-inline: 8px;
  max-width: 480px;
}
.stack-head .section-title {
  text-wrap: balance;
  color: #14151a;
}
.stack .section-head .eyebrow,
.stack-head .eyebrow {
  color: #b45309;
}

.signal-feed {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 640px;
}
.signal-feed::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(242, 107, 10, 0.2) 8%,
    rgba(242, 107, 10, 0.45) 42%,
    rgba(99, 102, 241, 0.35) 58%,
    rgba(242, 107, 10, 0.45) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(242, 107, 10, 0.12),
    0 0 18px rgba(99, 102, 241, 0.08);
  pointer-events: none;
}
.signal-feed--stack::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.25) 10%,
    rgba(242, 107, 10, 0.28) 50%,
    rgba(99, 102, 241, 0.25) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 14px rgba(99, 102, 241, 0.12),
    0 0 16px rgba(242, 107, 10, 0.08);
}

.signal-feed__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px 22px;
  align-items: start;
  padding: 20px 0 24px;
  margin: 0;
  position: relative;
}
.signal-feed__row:not(:last-child) {
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}

.signal-feed__glyph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
  line-height: 1;
  color: #f6f7fb;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.12), transparent 52%),
    linear-gradient(155deg, #0b0c10 0%, #15171f 100%);
  border: 2px solid rgba(242, 107, 10, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(242, 107, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1;
}
.signal-feed__glyph--pulse {
  font-size: 17px;
  animation: signal-glyph-halo 4.5s ease-in-out infinite;
}
.signal-feed--stack .signal-feed__glyph--num {
  border-color: rgba(129, 133, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(99, 102, 241, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: signal-glyph-halo-violet 5s ease-in-out infinite;
}

@keyframes signal-glyph-halo {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 18px rgba(242, 107, 10, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(242, 107, 10, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}
@keyframes signal-glyph-halo-violet {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 18px rgba(99, 102, 241, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(99, 102, 241, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}

.signal-feed__body {
  min-width: 0;
  padding-top: 2px;
}
.signal-feed__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.1vw, 21px);
  font-weight: 700;
  color: #14151a;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.signal-feed__body p {
  margin: 0;
  color: #3d4a5c;
  font-size: 14.5px;
  line-height: 1.58;
  max-width: 52ch;
}

@media (min-width: 720px) {
  .signal-feed {
    max-width: 680px;
  }
  .signal-feed__row {
    grid-template-columns: 48px 1fr;
    gap: 20px 28px;
    padding: 24px 0 28px;
  }
  .signal-feed__glyph {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .signal-feed::before {
    left: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-feed__glyph--pulse,
  .signal-feed--stack .signal-feed__glyph--num {
    animation: none !important;
  }
}

/* =========================================================
   7. SHOWCASE (Oportunidades a tu medida) - tiles 2x2
   ========================================================= */

.showcase {
  background: linear-gradient(180deg, #faf5ed 0%, var(--bg-cream) 50%, #e8dfd2 100%);
  padding: 90px 0;
  color: var(--ink-on-light);
}
.showcase .section-head {
  text-align: center;
  margin-bottom: 36px;
}
.showcase .section-head .section-title {
  color: var(--ink-on-light);
}
.showcase .section-head .eyebrow {
  color: #8a3800;
}
.showcase-grid::-webkit-scrollbar-track {
  background: rgba(26, 22, 18, 0.08);
  border-radius: 999px;
}
.showcase-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 0 8px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px));
  justify-content: center;
}
.showcase-grid::-webkit-scrollbar {
  height: 6px;
}
.showcase-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}
.cat-pill:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 6px;
  border-radius: 12px;
}
.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  width: 118px;
  max-width: 124px;
  padding-inline: 2px;
  scroll-snap-align: center;
  text-align: center;
  transition: transform 0.2s;
}
.cat-pill-icon {
  box-sizing: border-box;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.45) 0%, transparent 58%),
    rgba(255, 255, 255, 0.22);
  border: 2.5px solid var(--primary);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 18px rgba(242, 107, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}
.cat-pill:hover .cat-pill-icon,
.cat-pill:focus-visible .cat-pill-icon {
  transform: scale(1.05) translateY(-2px);
  border-color: #d45506;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.58) 0%, transparent 60%),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 24px rgba(242, 107, 10, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.cat-pill-icon svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-pill-icon[data-variant="warm"] {
  border-color: #f26b0a;
  color: #d45506;
}
.cat-pill-icon[data-variant="sand"] {
  border-color: #e8b86d;
  color: #a67c3d;
}
.cat-pill-icon[data-variant="mint"] {
  border-color: #4dbb7a;
  color: #1f7a47;
}
.cat-pill-icon[data-variant="lilac"] {
  border-color: #9b7fe8;
  color: #5e3eaa;
}
.cat-pill-icon[data-variant="ocre"] {
  border-color: #c9a06a;
  color: #7a5a2a;
}
.cat-pill-icon[data-variant="ink"] {
  border-color: #64748b;
  color: #334155;
}
.cat-pill-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-on-light);
  line-height: 1.25;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .showcase-grid {
    gap: 18px;
    justify-content: flex-start;
    padding-inline: max(14px, env(safe-area-inset-left, 0px))
      max(14px, env(safe-area-inset-right, 0px));
  }
  .cat-pill {
    width: min(118px, 28vw);
  }
}

/* =========================================================
   Marketplace section (estilo panel emprendedor)
   ========================================================= */

.marketplace {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8ecd2 0%, #f7eacd 100%);
  color: var(--ink-on-light);
}
.marketplace .section-head .eyebrow {
  color: #a34f00;
}
.marketplace .section-head .section-title {
  color: var(--ink-on-light);
  margin-inline: auto;
  padding-inline: 4px;
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.marketplace .section-head .section-title em {
  color: #c45a08;
}
.marketplace .section-head .section-lead {
  color: var(--ink-muted-on-light);
}
.marketplace .section-head,
.marketplace-list .section-head {
  text-align: center;
  margin-bottom: 30px;
}
.marketplace-grid {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0 8px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px));
}
.marketplace-grid::-webkit-scrollbar { height: 6px; }
.marketplace-grid::-webkit-scrollbar-track {
  background: rgba(26, 22, 18, 0.08);
  border-radius: 999px;
}
.marketplace-grid::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }
.market-card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.market-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.market-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.market-card-body {
  padding: 14px;
}
.market-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--primary-strong);
  margin-bottom: 8px;
}
.market-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink-on-light);
}
.market-card p {
  margin: 0 0 12px;
  color: var(--ink-muted-on-light);
  font-size: 13.5px;
}
.market-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.market-meta strong {
  color: #1c1b1a;
  font-size: 18px;
  font-family: var(--font-display);
}
.market-meta a {
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 13px;
}

.marketplace-list {
  padding: 56px 0 76px;
  background: linear-gradient(180deg, #101118 0%, var(--bg-soft) 32%, var(--bg-soft) 100%);
}
.marketplace-list .section-head {
  max-width: 640px;
  margin-inline: auto;
}
.market-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .market-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .market-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1200px) {
  .market-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.market-list-item {
  background: #fafbfc;
  border: 1px solid rgba(18, 20, 26, 0.1);
  border-radius: 18px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 10px 32px rgba(0, 0, 0, 0.2);
  padding: 14px 16px 14px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "avatar main"
    "side side";
  column-gap: 14px;
  row-gap: 10px;
  align-items: start;
  text-align: left;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.market-list-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(242, 107, 10, 0.38);
}
.market-list-avatar {
  grid-area: avatar;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(160deg, #fff5ec 0%, #ffe8d6 100%);
  border: 2px solid rgba(242, 107, 10, 0.22);
  box-shadow: 0 6px 16px rgba(242, 107, 10, 0.12);
}
.market-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-list-main {
  grid-area: main;
  min-width: 0;
}
.market-list-main .market-chip {
  margin-bottom: 6px;
}
.market-list-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  font-family: var(--font-display);
  color: var(--ink-on-light);
}
.market-list-meta {
  margin: 0;
  color: rgba(55, 50, 45, 0.78);
  font-size: 13px;
  line-height: 1.35;
}
.market-list-side {
  grid-area: side;
  width: 100%;
  padding-top: 2px;
}
.market-list-side .btn {
  width: 100%;
  min-height: 44px;
  font-weight: 700;
}

/* =========================================================
   8. IDEA BAND (Demo tarjeta animada)
   ========================================================= */

.idea-band {
  background: linear-gradient(180deg, #ede4d4 0%, #e8dfcb 45%, #e5d8c2 100%);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  /* Texto siempre oscuro sobre crema (no heredar --ink blanco del body) */
  color: #111318;
}
.idea-band::before,
.idea-band::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
}
.idea-band::before {
  background: var(--primary-glow);
  top: -80px;
  left: -80px;
}
.idea-band::after {
  background: rgba(255, 200, 120, 0.55);
  bottom: -120px;
  right: -100px;
}
.idea-band .container { position: relative; z-index: 1; }
.idea-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  color: #0a0c10;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.idea-title em {
  color: #a84300;
  font-style: normal;
  text-shadow: none;
}
.idea-sub {
  color: #362f29;
  font-size: 16.5px;
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 560px;
  font-weight: 500;
}
.idea-band .hero-cta .btn-primary {
  color: #fff;
  box-shadow: 0 8px 26px rgba(180, 70, 0, 0.35);
}

/* Nuevo layout + demo tipo “tarjeta glass” */
.idea-pay {
  text-align: left;
}

.idea-pay__wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.idea-pay__copy .eyebrow {
  color: #8a3800;
}

.idea-pay__title.section-title {
  color: #0a0c10;
  margin: 10px 0 10px;
  font-size: clamp(28px, 4.2vw, 44px);
}

.idea-pay__sub.section-lead {
  color: rgba(32, 28, 25, 0.78);
  margin-bottom: 18px;
  font-size: 15.5px;
  max-width: 58ch;
}

.idea-pay__demo {
  display: grid;
  place-items: center;
}

.pay-card {
  width: min(420px, 100%);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.92) 0%, rgba(16, 16, 20, 0.86) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(242, 107, 10, 0.12) inset;
  position: relative;
  overflow: hidden;
  animation: pay-float 5.5s ease-in-out infinite;
}

.pay-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(60% 60% at 20% 10%, rgba(242, 107, 10, 0.35), transparent 55%),
    radial-gradient(55% 55% at 95% 20%, rgba(99, 102, 241, 0.25), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.pay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 35%, transparent 70%);
  transform: translateX(-55%);
  animation: pay-sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.pay-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.pay-card__merchant {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pay-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1b1a1f;
  background: linear-gradient(140deg, #ffe3c7, #ffc48e);
}

.pay-merchant__meta strong {
  display: block;
  font-size: 13px;
  color: rgba(245, 246, 250, 0.95);
  line-height: 1.2;
}

.pay-merchant__meta span {
  display: block;
  font-size: 11.5px;
  color: rgba(200, 206, 222, 0.78);
  margin-top: 2px;
}

.pay-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.95);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.pay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
  animation: pay-pulse 1.8s ease-in-out infinite;
}

.pay-card__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.pay-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.95);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.pay-item__meta strong {
  display: block;
  color: rgba(245, 246, 250, 0.96);
  font-size: 13px;
  line-height: 1.2;
}

.pay-item__meta span {
  display: block;
  color: rgba(200, 206, 222, 0.78);
  font-size: 11.5px;
  margin-top: 2px;
}

.pay-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: rgba(16, 185, 129, 0.95);
  letter-spacing: -0.01em;
}

.pay-card__foot {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(200, 206, 222, 0.72);
  font-size: 12px;
}

.pay-lock {
  filter: grayscale(1);
  opacity: 0.85;
  font-size: 13px;
}

@keyframes pay-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pay-sheen {
  0%, 100% { transform: translateX(-55%); opacity: 0.0; }
  35% { opacity: 0.35; }
  55% { transform: translateX(55%); opacity: 0.0; }
}

@keyframes pay-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.08); }
}

@media (max-width: 900px) {
  .idea-band { padding: 80px 0; }
  .idea-pay__wrap { grid-template-columns: 1fr; text-align: center; }
  .idea-pay { text-align: center; }
  .idea-pay__sub.section-lead { margin-inline: auto; }
}
/* Secundario: borde marcado sobre crema — evita botón blanco “invisible” */
.idea-band .hero-cta .btn-light {
  color: #0a0c10;
  background: #ffffff;
  border: 2px solid rgba(10, 12, 16, 0.22);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 20px rgba(0, 0, 0, 0.1);
}
.idea-band .hero-cta .btn-light:hover {
  color: #0a0c10;
  background: #fffdf9;
  border-color: rgba(10, 12, 16, 0.35);
}
.idea-band .hero-cta .btn:focus-visible {
  outline: 2px solid #a84300;
  outline-offset: 3px;
}

/* =========================================================
   9. PLANS (Elegí tu membresía)
   ========================================================= */

.plans { background: var(--bg-soft); padding: 90px 0; }
.plans .section-head { text-align: center; margin-bottom: 40px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
  margin-inline: auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-price small { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
  flex: 1;
}
.plan-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.4;
}
.plan-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 11px;
}
.plan-card--premium {
  background: linear-gradient(165deg, #18181b 0%, #09090b 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(239, 132, 22, 0.25);
  transform: scale(1.03);
  z-index: 2;
}
.plan-card--premium:hover { transform: scale(1.03) translateY(-6px); box-shadow: 0 32px 70px rgba(239, 132, 22, 0.3); }
.plan-card--premium .plan-list li { color: rgba(255, 255, 255, 0.9); }
.plan-card--premium .plan-list li::before { border-color: var(--primary); color: var(--primary); }
.plan-card--premium .plan-price small { color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   10. FAQ
   ========================================================= */

.faq { background: var(--bg); padding: 90px 0; }
.faq .section-head { text-align: center; margin-bottom: 30px; }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.faq-item:hover { transform: translateY(-2px); }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 12px 28px rgba(239, 132, 22, 0.18); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6720c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/12px no-repeat;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  margin: 12px 0 0;
  color: rgba(196, 204, 220, 0.95);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   11. CTA FINAL + FOOTER
   ========================================================= */

.cta-final {
  background-color: #fff7ee !important;
  background-image: radial-gradient(ellipse 110% 70% at 50% 0%, rgba(242, 107, 10, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 55%, rgba(99, 102, 241, 0.08) 0%, transparent 48%) !important;
  color: var(--ink-on-light);
  padding: 72px 0 92px;
  text-align: center;
  border-top: 1px solid rgba(15, 17, 22, 0.08);
  position: relative;
  z-index: 2;
  isolation: isolate;
}
.cta-final-inner {
  max-width: 720px;
  margin-inline: auto;
}
.cta-final .eyebrow {
  color: var(--primary) !important;
}
.cta-final .section-title {
  color: #14151a !important;
}
.cta-final .section-lead {
  color: #3d4556 !important;
}
.cta-final .hero-cta {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-final .btn-primary {
  box-shadow: 0 8px 22px rgba(242, 107, 10, 0.35);
}
.cta-final .btn-ghost-dark {
  background: #ffffff;
  border: 1.5px solid rgba(18, 20, 26, 0.28);
  color: var(--ink-on-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.cta-final .btn-ghost-dark:hover {
  background: #f4f5f7;
  border-color: rgba(18, 20, 26, 0.4);
  color: #0b0d12;
}

.site-footer {
  background: #0e0e10;
  color: #d8d2c2;
  padding: 56px 0 28px;
  text-align: left;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
  padding-bottom: 40px;
  align-items: start;
}
.footer-brand {
  min-width: 0;
}
.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-grid > div:not(.footer-brand) {
  padding-top: 2px;
}
.footer-grid a { color: rgba(255, 255, 255, 0.72); font-size: 14px; transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-grid a:focus-visible {
  outline: 2px solid rgba(242, 107, 10, 0.85);
  outline-offset: 3px;
  border-radius: 3px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.62); margin: 0; font-size: 14px; line-height: 1.55; max-width: 34rem; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand .brand-logo { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.footer-bar .footer-copy {
  flex: 1 1 220px;
  min-width: 0;
}
.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}
.footer-bar a {
  color: inherit;
}
.footer-bar a:hover { color: #fff; }
.footer-bar a:focus-visible {
  outline: 2px solid rgba(242, 107, 10, 0.85);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================
   Pages internas (formularios y listados sin hero)
   ========================================================= */

.page-main { min-height: 65vh; padding: 110px 0 80px; background: transparent; }
.page-head { margin-bottom: 24px; }
.page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0 0 8px;
}
.page-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }
.page-lead { color: var(--ink-soft); margin: 0 0 16px; max-width: 720px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  border: 1.5px solid rgba(18, 20, 26, 0.16);
  background: rgba(255, 245, 234, 0.75);
  box-shadow:
    0 14px 34px rgba(15, 17, 22, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.field label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 21, 26, 0.78);
}
.field:focus-within {
  border-color: rgba(242, 107, 10, 0.55);
  box-shadow:
    0 0 0 4px rgba(240, 138, 28, 0.13),
    0 18px 44px rgba(15, 17, 22, 0.08);
  transform: translateY(-1px);
}

input, textarea, select {
  width: 100%;
  border: 1.5px solid rgba(18, 20, 26, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-on-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder,
textarea::placeholder {
  color: rgba(38, 40, 48, 0.45);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(240, 138, 28, 0.18);
}

/* Asegurar que en páginas públicas claras no lo pise otra regla */
body.no-hero:not(.is-admin-view) .field label {
  color: rgba(20, 21, 26, 0.78);
}

/* Estados de validación del navegador */
input:invalid, textarea:invalid, select:invalid {
  border-color: rgba(239, 68, 68, 0.55);
}
input:focus:invalid, textarea:focus:invalid, select:focus:invalid {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

/* Los checkboxes/radio no deben heredar width:100% (rompe filas flex al lado del texto) */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  max-width: none;
  margin: 0;
  flex-shrink: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--primary);
  vertical-align: middle;
}

textarea { min-height: 120px; resize: vertical; }

.notice-ok {
  border: 1px solid #b9e5c8;
  background: #ecfbf1;
  color: var(--ok);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.notice-error {
  border: 1px solid #f1c3c3;
  background: #fff1f1;
  color: var(--danger);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

pre.code-block {
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  margin: 0;
  max-height: 280px;
  overflow: auto;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border: 1px solid #ffd7a8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

/* =========================================================
   Contacto — tarjeta de ayuda (body.contact-page)
   ========================================================= */

body.contact-page.no-hero:not(.is-admin-view) .contact-help {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
  border-color: rgba(242, 107, 10, 0.14);
}

.contact-help__top {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.contact-help__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.22);
}

.contact-help__icon svg {
  width: 22px;
  height: 22px;
}

.contact-help__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #14151a;
  letter-spacing: -0.02em;
}

.contact-help__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.contact-help__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #7c2d12;
  background: rgba(242, 107, 10, 0.12);
  border: 1px solid rgba(242, 107, 10, 0.18);
}

.contact-help__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-help__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 17, 22, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.contact-help__bullet {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: #0f172a;
}

.contact-help__list strong {
  display: block;
  font-size: 13.5px;
  color: #14151a;
  margin: 0 0 4px;
}

.contact-help__list p {
  margin: 0;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}

.contact-help__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 17, 22, 0.12);
}

.contact-help__meta-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
}

.contact-help__meta-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.contact-help__meta-val {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

.contact-help__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 520px) {
  .contact-help__top {
    grid-template-columns: 1fr;
  }
  .contact-help__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

/* =========================================================
   Animaciones reveal
   ========================================================= */

.reveal {
  --delay: 0ms;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease var(--delay), transform 0.7s ease var(--delay);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s ease var(--delay);
}
.reveal-fade.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  /* .feature-grid: mantiene 3 columnas hasta 768 (evita 2+1 con tres pasos) */
  .plan-grid, .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 22px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 36rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-home { padding: 110px 0 60px; min-height: 480px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .feature-grid, .plan-grid,
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .marketplace-grid {
    justify-content: flex-start;
    gap: 14px;
    padding-inline: max(14px, env(safe-area-inset-left, 0px))
      max(14px, env(safe-area-inset-right, 0px));
  }
  .marketplace .section-head .section-title {
    font-size: clamp(15px, 4.2vw, 32px);
    line-height: 1.15;
    white-space: nowrap;
  }
  .marketplace-list {
    padding: 48px 0 60px;
  }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .site-footer {
    padding: 48px 0 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 32px;
  }
  .footer-brand {
    grid-column: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    max-width: none;
  }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 22px;
  }
  .footer-bar .footer-copy {
    flex: none;
    line-height: 1.45;
  }
}

@media (max-width: 540px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .brand span { display: none; }
}

/* =========================================================
   Directorio ML-Style (fondo claro: texto SIEMPRE oscuro)
   ========================================================= */

.page-main.ml-layout {
  position: relative;
  z-index: 0;
  background-color: #e0e6e4;
  background-image:
    radial-gradient(ellipse 75% 58% at 96% -18%, rgba(242, 107, 10, 0.11), transparent 58%),
    radial-gradient(ellipse 60% 48% at 4% 108%, rgba(71, 85, 105, 0.1), transparent 54%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.5) 0%, transparent 35%, transparent 100%);
  color: #0f1218;
}

.directorio-bg.page-main.ml-layout {
  background-color: #e0e6e4;
}

.page-main.ml-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(15, 18, 24, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
}

.page-main.ml-layout > .container {
  position: relative;
  z-index: 1;
}

.ml-layout {
  padding: 40px 0 80px;
  background: transparent;
  color: #0f1218;
}

.ml-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff9438 0%, var(--primary) 52%, #c95406 100%);
  padding: 24px 0;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 36px rgba(180, 70, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.ml-hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 255, 255, 0.2) 0%, transparent 42%),
    radial-gradient(circle at 82% 62%, rgba(0, 0, 0, 0.06) 0%, transparent 38%);
  pointer-events: none;
  opacity: 0.9;
}
.ml-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}
.ml-search-big {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 28px rgba(0, 0, 0, 0.12);
}
.ml-search-big input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size: 16px;
  box-shadow: none;
  color: #0f1218;
}
.ml-search-big input::placeholder {
  color: rgba(52, 50, 48, 0.45);
}
.ml-search-big input:focus {
  outline: none;
  box-shadow: none;
}
.ml-search-big .btn {
  padding: 10px 24px;
  flex-shrink: 0;
}

.ml-topcats {
  margin: 12px 0 18px;
}

.ml-topcats__inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px;
  scrollbar-width: none;
}

.ml-topcats__inner::-webkit-scrollbar {
  display: none;
}

.ml-topcat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(15, 18, 24, 0.82);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 18, 24, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ml-topcat:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 107, 10, 0.35);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.ml-topcat.is-active {
  color: #fff;
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  border-color: rgba(154, 52, 18, 0.25);
}

.ml-catalog-form {
  display: block;
  width: 100%;
}

.ml-catalog-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}

body.ml-drawer-lock {
  overflow: hidden;
  touch-action: none;
}

.ml-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(8, 10, 14, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  backdrop-filter: blur(2px);
}
.ml-drawer-overlay.is-visible {
  display: block;
  opacity: 1;
  visibility: visible;
}

.ml-catalog-primary {
  min-width: 0;
}

.ml-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 18, 24, 0.09);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 76px;
  z-index: 30;
}
.ml-toolbar__start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.ml-toolbar__end {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex: 0 0 auto;
}
.ml-toolbar__control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ml-toolbar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(35, 38, 45, 0.55);
  white-space: nowrap;
  line-height: 1;
  margin: 0;
}
.ml-toolbar__control--sort select {
  min-width: 128px;
  height: 36px;
  padding: 0 28px 0 11px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: 1px solid rgba(15, 18, 24, 0.14);
  background: #fff;
  color: #0f1218;
  cursor: pointer;
}

.ml-btn-drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(15, 18, 24, 0.14);
  background: linear-gradient(180deg, #fff 0%, #f4f7f8 100%);
  color: #0f1218;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ml-btn-drawer-toggle:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.ml-btn-drawer-toggle__ico {
  display: grid;
  place-items: center;
  color: var(--primary);
}
.ml-filter-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.ml-result-meta {
  font-size: 13px;
  color: rgba(35, 38, 45, 0.78);
  white-space: nowrap;
}
.ml-result-meta strong {
  color: #0f1218;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* Panel lateral filtros — móvil: drawer */
.ml-sidebar.ml-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(100%, 332px);
  max-width: 92vw;
  z-index: 150;
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  pointer-events: none;
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.ml-sidebar.ml-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 24px 0 48px rgba(0, 0, 0, 0.18);
}

.ml-drawer-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fafcfc;
  border-right: 1px solid rgba(15, 18, 24, 0.1);
  overflow: hidden;
}

.ml-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 18, 24, 0.08);
  flex-shrink: 0;
}
.ml-drawer-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f1218;
}
.ml-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(15, 18, 24, 0.06);
  color: #0f1218;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.ml-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.ml-drawer-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 18, 24, 0.06);
}

.ml-filter-acc {
  margin-bottom: 10px;
  border: 1px solid rgba(15, 18, 24, 0.1);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ml-filter-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #252830;
  user-select: none;
}
.ml-filter-acc summary::-webkit-details-marker {
  display: none;
}
.ml-filter-acc[open] summary {
  border-bottom: 1px solid rgba(15, 18, 24, 0.08);
  background: rgba(248, 250, 250, 0.9);
}

.filter-list--compact {
  padding: 6px 8px 12px !important;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 18, 24, 0.22) transparent;
}
.filter-list--compact::-webkit-scrollbar {
  width: 6px;
}
.filter-list--compact::-webkit-scrollbar-track {
  background: transparent;
}
.filter-list--compact::-webkit-scrollbar-thumb {
  background: rgba(15, 18, 24, 0.22);
  border-radius: 99px;
}
.filter-list--compact::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 18, 24, 0.32);
}
.filter-list.filter-list--compact a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
}

.ml-mini-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ml-mini-label span,
.ml-mini-label__text {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #475569;
  margin-bottom: 0;
}
.ml-mini-label input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid rgba(15, 18, 24, 0.14);
  border-radius: 10px;
  background: #fff;
}
.ml-mini-label input:focus {
  outline: 2px solid rgba(242, 107, 10, 0.35);
  border-color: var(--primary, #f26b0a);
}

.price-range--drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  padding: 12px 14px 8px;
}
.ml-drawer-apply-btn {
  margin: 0 12px 12px;
}
.ml-drawer-apply-btn.btn-primary {
  box-shadow: 0 3px 12px rgba(242, 107, 10, 0.22);
}
.ml-drawer-apply-btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(242, 107, 10, 0.3);
}

.ml-checkbox-inline {
  margin: 0 12px 12px !important;
  padding: 4px 0;
}

.ml-empty-state {
  text-align: center;
  padding: 28px 20px !important;
  margin-top: 16px !important;
  font-size: 15px;
  color: rgba(35, 38, 45, 0.85);
}

/* Vista de resultados */
.ml-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(15, 18, 24, 0.06);
  border: 1px solid rgba(15, 18, 24, 0.08);
}
.ml-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
}
.ml-view-btn:hover { color: #0f172a; background: rgba(255, 255, 255, 0.7); }
.ml-view-btn.is-active {
  background: #fff;
  color: var(--primary, #f26b0a);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* View modes: see Directorio catalog overhaul at end of file */

/* Escritorio: filtros como columna fija — sin drawer */
@media (min-width: 992px) {
  .ml-drawer-overlay {
    display: none !important;
  }
  .ml-catalog-shell {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 18px;
  }
  .ml-catalog-shell.has-ad-right {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
  .ml-sidebar.ml-drawer {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    transform: none !important;
    pointer-events: auto;
    grid-column: 1 / 2;
    box-shadow: none;
  }
  .ml-sidebar.ml-drawer.is-open {
    transform: none !important;
  }
  .ml-catalog-primary {
    grid-column: 2 / -1;
  }
  .ml-drawer-close {
    display: none;
  }
  .ml-drawer-panel {
    border-radius: 16px;
    border: 1px solid rgba(15, 18, 24, 0.09);
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.92) inset,
      0 10px 32px rgba(0, 0, 0, 0.08);
    overflow: visible;
    min-height: 0;
  }
  .ml-drawer-head {
    border-radius: 16px 16px 0 0;
  }
  .ml-drawer-body {
    border-radius: 0 0 16px 16px;
  }
  .ml-btn-drawer-toggle {
    display: none !important;
  }
  .ml-toolbar {
    flex-wrap: nowrap;
    padding: 11px 16px;
    top: 80px;
    gap: 12px 20px;
  }
  .ml-toolbar__start {
    flex: 0 1 auto;
  }
  .ml-toolbar__end {
    margin-left: auto;
    gap: 20px 24px;
  }
  .ml-toolbar__control--sort select {
    min-width: 140px;
  }
  .ml-sidebar.ml-drawer {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .ml-drawer-panel { flex: 0 0 auto; }
  .filter-list--compact {
    max-height: 320px;
  }
}

@media (max-width: 991px) {
  .ml-toolbar__end {
    display: contents;
  }
  .ml-toolbar__control--sort {
    order: 2;
    margin-left: auto;
  }
  .ml-toolbar__control--view {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid rgba(15, 18, 24, 0.07);
  }
  .ml-toolbar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 520px) {
  .page-main.ml-layout {
    padding-top: 56px;
  }
  .ml-hero {
    padding: 9px 0;
    margin-bottom: 8px;
    border-radius: 12px;
  }
  .ml-hero-inner {
    padding: 0 8px;
  }
  .ml-search-big .btn {
    padding: 7px 12px;
    font-size: 12px;
    min-height: 38px;
  }
  .ml-search-big input {
    min-height: 38px;
    font-size: 14px;
  }
  .ml-toolbar {
    gap: 8px 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    top: 58px;
  }
  .ml-btn-drawer-toggle {
    flex: 0 0 auto;
    padding: 6px 9px;
    font-size: 12px;
    gap: 5px;
  }
  .ml-btn-drawer-toggle__ico svg {
    width: 15px;
    height: 15px;
  }
  .ml-result-meta {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ml-result-meta strong {
    font-size: 12px;
  }
  .ml-toolbar__control--sort select {
    min-width: 0;
    width: min(124px, 32vw);
    height: 32px;
    font-size: 11px;
    padding: 0 24px 0 8px;
  }
  .ml-view-toggle {
    height: 32px;
  }
  .ml-view-btn {
    height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }
}

.filter-group {
  margin-bottom: 22px;
}
.filter-group h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0f1218;
}
.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.filter-list a {
  display: inline-block;
  padding: 6px 10px;
  margin-left: -8px;
  border-radius: 8px;
  color: rgba(35, 38, 45, 0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.filter-list a:hover {
  background: rgba(242, 107, 10, 0.1);
  color: #c24e04;
}
.filter-list a.active {
  font-weight: 800;
  color: #0f1218;
  background: rgba(242, 107, 10, 0.14);
}
.price-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.price-range > span {
  color: rgba(35, 38, 45, 0.55);
  font-weight: 600;
}
.ml-layout .price-range input {
  width: 100%;
  padding: 10px 10px;
  font-size: 14px;
  color: #0f1218;
  background: #fff;
  border: 1px solid rgba(15, 18, 24, 0.14);
  border-radius: 10px;
}
.price-range button {
  background: linear-gradient(180deg, #fff 0%, #f3f5f5 100%);
  border: 1px solid rgba(15, 18, 24, 0.16);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 12px;
  color: #0f1218;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.ml-layout .filter-group select {
  margin-top: 4px;
  background: #fff;
  border: 1px solid rgba(15, 18, 24, 0.16);
  color: #0f1218;
  padding: 10px 36px 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.ml-layout .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(35, 38, 45, 0.9);
  cursor: pointer;
  user-select: none;
}

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

.ml-chips {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ml-active-chip {
  background: #fff;
  border: 1px solid rgba(15, 18, 24, 0.12);
  color: #242830;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.ml-active-chip a {
  color: #b42318;
  font-weight: 800;
}

.ml-grid:not([class*="ml-grid--view-"]) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 520px) {
  .ml-grid:not([class*="ml-grid--view-"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .ml-grid:not([class*="ml-grid--view-"]) {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@keyframes mlCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ml-card {
  --ml-card-accent: 242, 107, 10;
  background: #fff;
  border: 1px solid rgba(15, 18, 24, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  animation: mlCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.ml-card:nth-child(5n + 1) {
  --ml-card-accent: 242, 107, 10;
}
.ml-card:nth-child(5n + 2) {
  --ml-card-accent: 14, 165, 233;
}
.ml-card:nth-child(5n + 3) {
  --ml-card-accent: 99, 102, 241;
}
.ml-card:nth-child(5n + 4) {
  --ml-card-accent: 16, 185, 129;
}
.ml-card:nth-child(5n) {
  --ml-card-accent: 217, 119, 6;
}

@media (prefers-reduced-motion: reduce) {
  .ml-card {
    animation: none;
  }
}

.ml-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(var(--ml-card-accent), 0.28);
}

.ml-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(145deg, #eef1f3 0%, #dfe6ea 100%);
}
.ml-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.ml-card:hover .ml-card__photo {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .ml-card:hover .ml-card__photo {
    transform: none;
  }
}
.ml-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    transparent 38%,
    transparent 62%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.ml-card__brand {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 92px);
  background: rgba(255, 255, 255, 0.95);
  color: #0f1218;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.ml-card__brand span {
  color: #0f1218;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ml-card__brand img,
.ml-card__brand .provider-avatar--xs {
  width: 22px;
  height: 22px;
  font-size: 9px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ml-card__chip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 16, 24, 0.88);
  color: #ffd7bd;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ml-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ml-card__price {
  order: 1;
  font-size: 21px;
  font-weight: 800;
  color: #121418;
  margin: 0 0 6px;
}
.ml-card__title {
  order: 2;
  font-size: 15px;
  color: #0f1218;
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.35;
}
.ml-card__summary {
  order: 3;
  font-size: 13px;
  color: rgba(38, 40, 48, 0.78);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.ml-card__meta {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}

.ml-meta-item {
  font-size: 12px;
  font-weight: 700;
  color: rgba(35, 38, 45, 0.78);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ml-meta-item--muted {
  color: rgba(35, 38, 45, 0.55);
  font-weight: 700;
}

.ml-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  border: 1px solid rgba(15, 18, 24, 0.1);
  background: rgba(248, 250, 252, 0.95);
  color: rgba(15, 18, 24, 0.72);
}

.ml-pill--ok {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
  color: #047857;
}

.ml-pill--hot {
  background: rgba(242, 107, 10, 0.14);
  border-color: rgba(242, 107, 10, 0.25);
  color: #9a3412;
}

.ml-card__foot {
  order: 4;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ml-card__cta {
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
}

/* Ficha detalle dentro del mismo layout claro */
.ml-breadcrumb {
  font-size: 13px;
  color: rgba(38, 40, 48, 0.72);
  margin-bottom: 20px;
}
.ml-breadcrumb a {
  color: #c24e04;
  font-weight: 700;
}
.ml-breadcrumb span {
  color: #0f1218;
  font-weight: 600;
}

.ml-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid rgba(15, 18, 24, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  color: #0f1218;
}
.ml-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ml-detail-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f3f5f6;
  border-radius: 12px;
}
.ml-detail-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.ml-detail-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}
.ml-detail-thumbs img:hover {
  border-color: var(--primary);
}
.ml-detail-info {
  display: flex;
  flex-direction: column;
}
.ml-detail-chip {
  align-self: flex-start;
  font-size: 12px;
  background: #fff6ed;
  color: #c24e04;
  border: 1px solid rgba(242, 107, 10, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 12px;
}
.ml-detail-title {
  font-size: clamp(22px, 3.5vw, 28px);
  margin: 0 0 12px;
  line-height: 1.22;
  color: #0a0d12;
}
.ml-detail-price {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  margin: 0 0 20px;
  color: #121418;
}
.ml-detail-summary h3,
.ml-detail-provider h3 {
  font-size: 15px;
  margin: 0 0 10px;
  border-bottom: 1px solid rgba(15, 18, 24, 0.12);
  padding-bottom: 8px;
  color: #141820;
}
.ml-detail-summary p {
  font-size: 15px;
  color: rgba(42, 44, 52, 0.88);
  line-height: 1.62;
  margin-bottom: 20px;
}
.ml-detail-provider .provider-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(15, 18, 24, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafb 0%, #eef1f4 100%);
  color: #0f1218;
}
.ml-detail-provider .provider-card .provider-avatar--img,
.ml-detail-provider .provider-card .provider-avatar--placeholder {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.ml-detail-provider .provider-card img {
  border-radius: 50%;
  object-fit: cover;
}
.ml-detail-provider .provider-card strong {
  color: #0a0d12;
}

.ml-layout .card {
  background: #fff;
  border-color: rgba(15, 18, 24, 0.1);
  color: #252830;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .page-main.ml-layout {
    padding-top: 58px;
    padding-bottom: 44px;
  }
  .ml-hero {
    padding: 11px 0;
    margin-bottom: 8px;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(180, 70, 0, 0.22);
  }
  .ml-hero-inner {
    padding: 0 10px;
  }
  .ml-search-big {
    padding: 4px 4px 4px 12px;
    border-radius: 14px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 4px 18px rgba(0, 0, 0, 0.09);
  }
  .ml-search-big input {
    padding: 8px 6px;
    font-size: 15px;
    min-height: 42px;
  }
  .ml-search-big .btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 12px;
    min-height: 40px;
  }
  .ml-toolbar {
    top: 58px;
    padding: 7px 10px;
    margin-bottom: 8px;
    gap: 8px 10px;
    border-radius: 12px;
  }
  .ml-btn-drawer-toggle {
    padding: 7px 10px;
    font-size: 13px;
    gap: 6px;
    border-radius: 10px;
  }
  .ml-btn-drawer-toggle__ico svg {
    width: 16px;
    height: 16px;
  }
  .ml-filter-badge {
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    padding: 0 5px;
  }
  .ml-result-meta {
    font-size: 12px;
    line-height: 1.25;
  }
  .ml-result-meta strong {
    font-size: 13px;
  }
  .ml-toolbar__control--sort select {
    height: 34px;
    font-size: 12px;
    border-radius: 9px;
  }
  .ml-chips {
    gap: 6px;
    margin-bottom: 12px;
  }
  .ml-active-chip {
    padding: 5px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .ml-grid {
    gap: 12px;
  }
  .ml-detail-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* =========================================================
   Categorías Landing
   ========================================================= */

.cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--line);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.cat-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.cat-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.cat-info span {
  font-size: 13px;
  color: var(--ink-soft);
}

.cat-card[data-variant="warm"]  .cat-icon { background: linear-gradient(135deg,#ff9d36,#cf6807); }
.cat-card[data-variant="sand"]  .cat-icon { background: linear-gradient(135deg,#f6c789,#cf6807); }
.cat-card[data-variant="ink"]   .cat-icon { background: linear-gradient(135deg,#3a3a3a,#1a1a1a); }
.cat-card[data-variant="mint"]  .cat-icon { background: linear-gradient(135deg,#79d4a0,#1f7a47); }
.cat-card[data-variant="lilac"] .cat-icon { background: linear-gradient(135deg,#b59cf0,#5e3eaa); }
.cat-card[data-variant="ocre"]  .cat-icon { background: linear-gradient(135deg,#ddb17f,#7a5a2a); }

/* =========================================================
   Panel Admin — stubs solo si NO estás en body.is-admin-view
   (el panel real usa assets/admin.css; esto evitaba max-width:1200px
   y fondos oscuros mezclados con el shell del sitio público)
   ========================================================= */
body:not(.is-admin-view) .admin-layout {
  display: flex;
  min-height: calc(100vh - 56px);
  background: var(--bg-soft);
}

body:not(.is-admin-view) .admin-sidebar {
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  flex-shrink: 0;
}

body:not(.is-admin-view) .admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body:not(.is-admin-view) .admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s ease;
}

body:not(.is-admin-view) .admin-nav a:hover {
  background: rgba(239, 132, 22, 0.08);
  color: var(--primary-strong);
}

body:not(.is-admin-view) .admin-nav a.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  box-shadow: inset 3px 0 0 var(--primary);
}

body:not(.is-admin-view) .admin-content {
  flex: 1;
  padding: 32px 40px;
  max-width: 1200px;
}

body:not(.is-admin-view) .admin-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body:not(.is-admin-view) .admin-header h1 {
  font-size: 28px;
  font-family: var(--font-display);
  margin: 0 0 8px;
}

body:not(.is-admin-view) .admin-header p {
  color: var(--ink-soft);
  margin: 0;
}

body:not(.is-admin-view) .admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

body:not(.is-admin-view) .admin-card-header {
  border-bottom: 1px solid var(--line);
  margin: -24px -24px 24px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body:not(.is-admin-view) .admin-card-header h2 {
  font-size: 18px;
  margin: 0;
}

body:not(.is-admin-view) .admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

body:not(.is-admin-view) .admin-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

body:not(.is-admin-view) .admin-stat h3 {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

body:not(.is-admin-view) .admin-stat .number {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink);
}

body:not(.is-admin-view) .admin-table-wrap {
  overflow-x: auto;
}

body:not(.is-admin-view) .admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

body:not(.is-admin-view) .admin-table th {
  padding: 12px 16px;
  border-bottom: 2px solid var(--line);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body:not(.is-admin-view) .admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14.5px;
}

body:not(.is-admin-view) .admin-table tr:last-child td {
  border-bottom: none;
}

body:not(.is-admin-view) .admin-table tr:hover td {
  background: rgba(0,0,0,0.01);
}

body:not(.is-admin-view) .admin-empty {
  text-align: center;
  padding: 40px;
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  border-radius: 12px;
}

/* -----------------------------------------------------------------
   Fijación máxima especificidad: landing (#root) + id header (#siteHeader).
   Evita que una site.css cacheada, CDN o regla ajena deje el CTA/header oscuros.
   ----------------------------------------------------------------- */
body:not(.is-admin-view) #root > section.cta-final {
  background-color: #fff7ee !important;
  background-image: radial-gradient(ellipse 110% 70% at 50% 0%, rgba(242, 107, 10, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 55%, rgba(99, 102, 241, 0.08) 0%, transparent 48%) !important;
  color: #12141a !important;
}
body:not(.is-admin-view) #root > section.cta-final .section-title {
  color: #14151a !important;
}
body:not(.is-admin-view) #root > section.cta-final .section-lead {
  color: #3d4556 !important;
}
body:not(.is-admin-view) header#siteHeader.site-header {
  background: linear-gradient(
    180deg,
    rgba(12, 13, 18, 0.94) 0%,
    rgba(15, 16, 22, 0.9) 100%
  ) !important;
  border-bottom-color: rgba(242, 107, 10, 0.22) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body:not(.is-admin-view) header#siteHeader.site-header.is-scrolled {
  background: linear-gradient(
    180deg,
    rgba(15, 16, 22, 0.98) 0%,
    rgba(10, 11, 15, 0.96) 100%
  ) !important;
  border-bottom-color: rgba(242, 107, 10, 0.28) !important;
}

/* =========================================================
   Cómo funciona — guía inmersiva (body.cf-guide-page)
   ========================================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.cf-guide-page #cf-flow-heading.visually-hidden,
body.cf-guide-page #cf-flow-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.cf-guide-page:not(.is-admin-view) {
  --header-mobile-sheet-bg: rgba(16, 15, 20, 0.97);
  --header-mobile-sheet-border: rgba(242, 107, 10, 0.28);
  background-color: #fff3e8 !important;
  background-image: none !important;
  color: var(--ink-on-light);
}

/* En la guía, queremos reveals reales (stagger por --delay) */
body.cf-guide-page #cfGuide .reveal {
  transform: translateY(26px) scale(0.985);
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
body.cf-guide-page #cfGuide .reveal.is-visible {
  transform: none;
}

.cf-guide__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.cf-guide__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(15, 17, 22, 0.06);
  color: rgba(20, 21, 26, 0.92);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.cf-guide__scroll-hint {
  margin-top: 24px;
  display: grid;
  place-items: center;
}
.cf-guide__scroll-dot {
  width: 18px;
  height: 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 17, 22, 0.18);
  background: rgba(255, 255, 255, 0.55);
  position: relative;
  box-shadow: 0 16px 40px rgba(15, 17, 22, 0.06);
}
.cf-guide__scroll-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 107, 10, 0.75);
  transform: translateX(-50%);
  animation: cf-scroll-dot 1.4s ease-in-out infinite;
}
@keyframes cf-scroll-dot {
  0% { opacity: 0.55; transform: translate(-50%, 0); }
  55% { opacity: 1; transform: translate(-50%, 10px); }
  100% { opacity: 0.55; transform: translate(-50%, 0); }
}

.cf-guide__section {
  margin-top: 56px;
  padding: 26px 18px;
  border-radius: 28px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 26px 70px rgba(15, 17, 22, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}
.cf-guide__section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 22px;
}

/* Steps / timeline */
.cf-steps {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  max-width: 980px;
  display: grid;
  gap: 14px;
}

.cf-step {
  position: relative;
}

.cf-step__rail {
  position: absolute;
  inset: 16px auto 16px 22px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(242, 107, 10, 0.25) 0%,
    rgba(99, 102, 241, 0.18) 50%,
    rgba(242, 107, 10, 0.12) 100%
  );
  border-radius: 999px;
}

.cf-step__rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(242, 107, 10, 0.65) 0%,
    rgba(99, 102, 241, 0.45) 100%
  );
  border-radius: 999px;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0.9;
}

.cf-step.is-active-step .cf-step__rail::after {
  transform: scaleY(1);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-step__card {
  position: relative;
  padding: 18px 18px 18px 54px;
  border-radius: 22px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 20px 55px rgba(15, 17, 22, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.cf-step__card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 107, 10, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.cf-step__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.cf-step__num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(20, 21, 26, 0.92);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 17, 22, 0.1);
  box-shadow: 0 12px 30px rgba(15, 17, 22, 0.08);
}
.cf-step__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 107, 10, 0.9);
}

.cf-step__title {
  margin: 10px 0 8px;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: #14151a;
}
.cf-step__bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(61, 69, 86, 0.9);
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .cf-step__card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 30px 80px rgba(15, 17, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.78) inset;
  }
}
@media (min-width: 900px) {
  .cf-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .cf-step__rail {
    inset: 16px auto 16px 24px;
  }
}

/* Tabs roles */
.cf-tabs {
  max-width: 980px;
  margin: 0 auto;
}
.cf-tabs__list {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 50px rgba(15, 17, 22, 0.06);
  position: relative;
  overflow: hidden;
}

.cf-tabs__list::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 107, 10, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(99, 102, 241, 0.14) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
  animation: cf-tabs-glow 7s ease-in-out infinite alternate;
}

@keyframes cf-tabs-glow {
  0% { transform: translate3d(-1%, 0, 0) scale(1); }
  100% { transform: translate3d(1.5%, -0.5%, 0) scale(1.03); }
}
.cf-tabs__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(20, 21, 26, 0.82);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cf-tabs__tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 17, 22, 0.1);
  color: rgba(20, 21, 26, 0.95);
  box-shadow: 0 14px 40px rgba(15, 17, 22, 0.08);
}
.cf-tabs__tab:focus-visible {
  outline: 2px solid rgba(242, 107, 10, 0.7);
  outline-offset: 2px;
}
.cf-tabs__panels {
  margin-top: 18px;
}
.cf-tabs__panel {
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cf-tabs__panel[hidden] { display: none; }
.cf-tabs__panel.is-active {
  opacity: 1;
  transform: none;
}
.cf-tabs__panel:not(.is-active) {
  opacity: 0;
  transform: translateY(8px);
}

.cf-role {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 24px 70px rgba(15, 17, 22, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}
.cf-role::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 107, 10, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 58%);
  opacity: 0.6;
  pointer-events: none;
}
.cf-role__card {
  position: relative;
  z-index: 1;
  padding: 22px 22px 24px;
  max-width: 70ch;
}
.cf-role__title {
  margin: 0;
  font-family: var(--font-display);
  color: #14151a;
}
.cf-role__lead {
  margin: 10px 0 14px;
  color: rgba(61, 69, 86, 0.92);
}
.cf-role__bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(61, 69, 86, 0.9);
}
.cf-role__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(15, 17, 22, 0.14);
}
.cf-role__badge[data-accent="orange"] { background: linear-gradient(135deg, rgba(242, 107, 10, 1) 0%, rgba(255, 138, 43, 1) 100%); }
.cf-role__badge[data-accent="indigo"] { background: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(79, 70, 229, 1) 100%); }
.cf-role__badge[data-accent="amber"] { background: linear-gradient(135deg, rgba(217, 119, 6, 1) 0%, rgba(242, 107, 10, 1) 100%); }

/* Example: SVG connectors draw */
.cf-example {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 75px rgba(15, 17, 22, 0.1);
  overflow: hidden;
}
.cf-example__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  position: relative;
  z-index: 1;
}
.cf-example__node {
  border-radius: 22px;
  border: 1px solid rgba(15, 17, 22, 0.08);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 16px 18px;
  box-shadow: 0 16px 40px rgba(15, 17, 22, 0.08);
}
.cf-example__kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 107, 10, 0.88);
}
.cf-example__title {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  color: #14151a;
}
.cf-example__text {
  margin: 0;
  color: rgba(61, 69, 86, 0.9);
}
.cf-example__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cf-draw-path {
  fill: none;
  stroke: rgba(99, 102, 241, 0.5);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  opacity: 0.85;
}
.cf-draw-path--2 {
  stroke: rgba(242, 107, 10, 0.55);
  stroke-width: 2.6;
  opacity: 0.7;
}
.cf-example.is-in-view .cf-draw-path {
  animation: cf-draw 1.5s ease forwards, cf-path-pulse 1.8s ease-in-out 0.15s 1;
}
.cf-example.is-in-view .cf-draw-path--2 {
  animation: cf-draw 1.65s ease forwards, cf-path-pulse 1.95s ease-in-out 0.2s 1;
}
@keyframes cf-draw { to { stroke-dashoffset: 0; } }

@keyframes cf-path-pulse {
  0%,
  100% { opacity: 0.55; }
  60% { opacity: 1; }
}

@media (min-width: 860px) {
  .cf-example__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 22px;
  }
  .cf-example__svg {
    height: 240px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Trust cards */
.cf-trust-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cf-trust-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 55px rgba(15, 17, 22, 0.08);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.cf-trust-card::before {
  content: "";
  position: absolute;
  inset: -50% -30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(242, 107, 10, 0.1) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}
.cf-trust-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: #14151a;
}
.cf-trust-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(61, 69, 86, 0.92);
}
@media (hover: hover) and (pointer: fine) {
  .cf-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 75px rgba(15, 17, 22, 0.12);
  }
}
@media (min-width: 900px) {
  .cf-trust-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
}

/* CTA dual actions */
.cf-guide__cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cf-guide__cta-btn-secondary.btn-ghost {
  border-color: rgba(18, 20, 26, 0.22);
  color: rgba(20, 21, 26, 0.92);
  background: rgba(255, 255, 255, 0.82);
}
.cf-guide__cta-btn-secondary.btn-ghost:hover {
  background: rgba(18, 20, 26, 0.06);
  border-color: rgba(18, 20, 26, 0.3);
}

.cf-guide {
  position: relative;
  overflow: hidden;
}

.cf-guide.page-main {
  padding-top: 100px;
  padding-bottom: 88px;
}

.cf-guide__hero {
  position: relative;
  padding-bottom: 44px;
  background: #fff3e8;
  border-bottom: 1px solid rgba(15, 17, 22, 0.06);
}

.cf-guide__hero::before {
  display: none;
}

.cf-guide__hero::after {
  display: none;
}

.cf-guide__hero-bg {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cf-guide__hero-bg {
    filter: blur(0.5px);
  }
}

@keyframes cf-guide-mesh {
  0% {
    opacity: 0.85;
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translate3d(2%, -1%, 0);
  }
}

.cf-guide__hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cf-guide__head.page-head {
  margin-bottom: 0;
}

.cf-guide__badge.badge {
  background: rgba(242, 107, 10, 0.18);
  color: var(--primary-strong);
  border-color: rgba(242, 107, 10, 0.45);
}

.cf-guide__title.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: none;
  white-space: nowrap;
  margin-inline: auto;
  margin-top: 14px;
}

.cf-guide__lead.section-lead {
  max-width: 520px;
  margin-inline: auto;
  margin-top: 12px;
  font-size: 1.05rem;
}

.cf-guide__body {
  position: relative;
  z-index: 1;
}

.cf-guide__flow {
  margin-top: 40px;
}

.cf-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.cf-guide__card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(242, 107, 10, 0.45),
    rgba(99, 102, 241, 0.25),
    rgba(242, 107, 10, 0.2)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease;
}

.cf-guide__card[data-accent="orange"] {
  --cf-accent: #f26b0a;
}

.cf-guide__card[data-accent="indigo"] {
  --cf-accent: #6366f1;
}

.cf-guide__card[data-accent="amber"] {
  --cf-accent: #d97706;
}

.cf-guide__card-inner {
  height: 100%;
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 26px 22px 28px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 17, 22, 0.1);
  box-shadow:
    0 16px 40px rgba(15, 17, 22, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .cf-guide__card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.45),
      0 0 40px rgba(242, 107, 10, 0.12);
  }
}

.cf-guide__step {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 12px;
}

.cf-guide__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, var(--cf-accent) 0%, #1a1008 130%);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .cf-guide__icon {
    animation: cf-guide-float 5.5s ease-in-out infinite;
  }
}

@keyframes cf-guide-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cf-guide__card[data-accent="indigo"] .cf-guide__icon {
  background: linear-gradient(160deg, var(--cf-accent) 0%, #1e1b4b 130%);
}

.cf-guide__card[data-accent="amber"] .cf-guide__icon {
  background: linear-gradient(160deg, var(--cf-accent) 0%, #422006 130%);
}

.cf-guide__svg {
  width: 28px;
  height: 28px;
}

.cf-guide__card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #14151a;
}

.cf-guide__card-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: rgba(61, 69, 86, 0.9);
}

.cf-guide__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 107, 10, 0.55);
  min-height: 36px;
}

.cf-guide__arrow svg {
  width: min(120px, 80%);
  height: auto;
  overflow: visible;
}

.cf-guide__arrow-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: none;
}

@keyframes cf-guide-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cf-guide-arrow-pulse {
  0%,
  100% { opacity: 0.65; }
  55% { opacity: 1; }
}

/* Flechas: se dibujan cuando el bloque entra en vista (JS agrega .is-in-view) */
.cf-guide__flow.is-in-view .cf-guide__arrow-path {
  animation: cf-guide-draw 1.35s ease forwards, cf-guide-arrow-pulse 1.35s ease forwards;
  animation-delay: 0.05s, 0.05s;
}

.cf-guide__cta-wrap {
  margin-top: 56px;
}

.cf-guide__cta {
  position: relative;
  text-align: center;
  padding: 48px 28px 52px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 241, 235, 0.92) 100%);
  border: 1px solid rgba(15, 17, 22, 0.08);
  box-shadow:
    0 30px 70px rgba(15, 17, 22, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.cf-guide__cta-glow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 50% 40%, rgba(242, 107, 10, 0.22) 0%, transparent 56%),
    radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
  opacity: 0.6;
  animation: cf-guide-cta-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cf-guide-cta-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.03);
  }
}

.cf-guide__cta-title.section-title {
  position: relative;
  color: #14151a !important;
  max-width: 22ch;
  margin-inline: auto;
  z-index: 1;
}

.cf-guide__cta-lead.section-lead {
  position: relative;
  color: rgba(74, 85, 104, 0.95) !important;
  max-width: 480px;
  margin-inline: auto;
  margin-top: 10px;
  z-index: 1;
}

.cf-guide__cta-btn.btn-primary {
  position: relative;
  margin-top: 22px;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(242, 107, 10, 0.45);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cf-guide__cta-btn.btn-primary {
    overflow: hidden;
  }
  .cf-guide__cta-btn.btn-primary::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.38) 35%,
      transparent 70%
    );
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    pointer-events: none;
  }
  .cf-guide__cta-btn.btn-primary:hover::after {
    transform: translateX(120%);
    opacity: 1;
  }
}

body.cf-guide-page .cf-guide__cta-btn:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  .cf-guide__grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0 4px;
    align-items: center;
  }

  .cf-guide__arrow {
    min-height: auto;
    width: 100%;
  }

  .cf-guide__arrow--right svg {
    width: 100%;
    max-width: 56px;
  }
}

@media (max-width: 1023px) {
  .cf-guide__grid {
    gap: 16px 0;
  }

  .cf-guide__arrow--right {
    min-height: 28px;
    padding: 4px 0 8px;
  }

  .cf-guide__arrow--right svg {
    width: 40px;
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-guide__hero-bg {
    animation: none;
  }

  .cf-guide__cta-glow {
    animation: none;
    opacity: 0.5;
  }

  .cf-guide__arrow-path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .cf-guide__icon {
    animation: none !important;
    transform: none !important;
  }

  .cf-guide__cta-btn.btn-primary::after {
    display: none !important;
  }

  .cf-guide__scroll-dot::after {
    animation: none !important;
    transform: translate(-50%, 10px) !important;
    opacity: 1 !important;
  }

  .cf-example.is-in-view .cf-draw-path,
  .cf-example.is-in-view .cf-draw-path--2 {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Contact channels + WhatsApp float */
.contact-channels__list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-channels__list li { margin-bottom: 10px; }
.contact-channels__empty { color: var(--muted, #64748b); font-size: 14px; }
.contact-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.contact-social__link {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  background: rgba(239, 132, 22, 0.12); color: var(--accent, #ef8416);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.contact-map { margin-top: 16px; border-radius: 12px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 220px; border: 0; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { margin-bottom: 8px; }
.footer-contact-list a { color: inherit; opacity: 0.85; text-decoration: none; }
.footer-contact-list a:hover { opacity: 1; text-decoration: underline; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.06); }
.admin-hint { font-size: 12px; color: #94a3b8; margin-top: 6px; }
/* Contacto: formulario izquierda, datos derecha */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: start;
}
.contact-form-card__title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.contact-page-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}
.contact-page-aside .contact-target {
  margin-bottom: 0;
}
.contact-page-help {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-page-aside {
    position: static;
  }
}

/* Ads — directorio */
.ml-catalog-form { display: flex; flex-direction: column; gap: 0; }
.ml-ad-banner-top {
  width: 100%;
  margin-bottom: 20px;
}
.ml-ad-banner-top .ad-slot { width: 100%; }
.ad-slot--horizontal-banner .ad-slot__frame {
  aspect-ratio: 728 / 90 !important;
  max-height: 110px;
  width: 100%;
}
.ml-ad-under-filters {
  margin-top: 4px;
  padding: 0 4px 8px;
}
.ml-ad-under-filters .ad-slot--compact .ad-slot__frame {
  aspect-ratio: 300 / 250;
  max-width: 100%;
}
@media (min-width: 992px) {
  .ml-ad-sidebar--desktop-only.ml-ad-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
  }
  .ml-catalog-shell.has-ad-right .ml-sidebar {
    grid-column: 1;
  }
  .ml-catalog-shell.has-ad-right .ml-catalog-primary {
    grid-column: 2;
  }
}
@media (min-width: 1400px) {
  .ml-catalog-shell.has-ad-right {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(0, 280px) !important;
  }
  .ml-catalog-shell.has-ad-right .ml-ad-sidebar {
    grid-column: 3;
    grid-row: 1;
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .ml-catalog-shell.has-ad-right .ml-ad-sidebar.ml-ad-sidebar--desktop-only {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .ml-ad-sidebar--desktop-only,
  .ml-ad-banner-top.ml-ad-sidebar--desktop-only,
  .ml-ad-under-filters { display: none !important; }
}
.ml-ad-sidebar--mobile-only { display: none; }
@media (max-width: 991px) {
  .ml-ad-banner-mobile.ml-ad-sidebar--mobile-only { display: block; margin-bottom: 16px; }
}
.ad-slot { position: relative; border-radius: 12px; overflow: hidden; background: #f1f5f9; }
.ad-slot__frame { display: block; width: 100%; position: relative; }
.ad-slot__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-slot__link { display: block; }
.ad-slot__dots { display: flex; justify-content: center; gap: 6px; padding: 8px; }
.ad-slot__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #cbd5e1; cursor: pointer; padding: 0; }
.ad-slot__dot.is-active { background: var(--accent, #ef8416); }

/* Blog */
.blog-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.blog-card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.blog-card__body { padding: 20px; }
.blog-card__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--accent); }
.blog-article article {
  width: 100%;
}
.blog-article__hero {
  width: 100%;
}
.blog-article__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}
.blog-article__hero .blog-card__cat {
  display: inline-block;
  margin-bottom: 10px;
}
.blog-article__hero .section-title,
.blog-article__hero .section-lead,
.blog-article__hero > p {
  max-width: none;
  width: 100%;
}
.blog-article__content {
  width: 100%;
  max-width: none;
  line-height: 1.7;
  margin-top: 24px;
  padding: 28px;
}
.blog-article__content h2 { margin-top: 1.5em; }
.blog-article__content img,
.blog-article__content video,
.blog-article__content iframe {
  max-width: 100%;
  height: auto;
}
.blog-article__content iframe {
  width: 100%;
  min-height: 320px;
}
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.blog-cat {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #f1f5f9; color: #475569; text-decoration: none;
}
.blog-cat.is-active { background: var(--accent, #ef8416); color: #fff; }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card h2 { font-size: 1.1rem; margin: 8px 0; }
.blog-card__body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #64748b);
  margin: 0 0 12px;
}

/* Company profile */
.empresa-page__inner { max-width: 1100px; }
.empresa-hero {
  margin-top: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.empresa-hero__layout {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 32px);
  align-items: flex-start;
}
.empresa-hero__brand { flex: 0 0 auto; }
.empresa-hero__logo {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: block;
}
.empresa-hero__main {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.empresa-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.empresa-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}
.empresa-hero__category {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent, #ef8416);
}
.empresa-hero__description {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
  max-width: 65ch;
}
.empresa-hero__location {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.empresa-hero__social { margin-top: 4px; }
.empresa-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.empresa-section { margin-top: 40px; }
.empresa-section__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: #0f172a;
}
.empresa-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.empresa-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.empresa-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  max-width: 800px;
}
.empresa-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.empresa-offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.empresa-offer-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.empresa-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.empresa-offer-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.empresa-offer-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.empresa-offer-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent, #ef8416);
}
.empresa-offer-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.empresa-offer-card__summary {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empresa-offer-card__price {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.empresa-offer-card__owner {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}
.empresa-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.empresa-section__head .empresa-section__title {
  margin: 0;
}
.empresa-section__lead {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 62ch;
}
.empresa-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(242, 107, 10, 0.14);
  color: #c2410c;
}
.empresa-section__count--muted {
  background: #e2e8f0;
  color: #475569;
}
.empresa-section--datos {
  padding: clamp(20px, 3vw, 28px);
  margin-top: 28px;
}
.empresa-datos {
  margin: 0;
  display: grid;
  gap: 0;
}
.empresa-datos__row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 12px 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}
.empresa-datos__row:last-child {
  border-bottom: none;
}
.empresa-datos dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.empresa-datos dd {
  margin: 0;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.45;
}
.empresa-datos a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: none;
}
.empresa-datos a:hover {
  text-decoration: underline;
}
.empresa-section--own {
  margin-top: 40px;
}
.empresa-section--related {
  margin-top: 32px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: none;
}
.empresa-offers--own .empresa-offer-card--own {
  border: 2px solid rgba(242, 107, 10, 0.22);
}
.empresa-offers--related .empresa-offer-card--related {
  background: #fff;
  border-style: dashed;
  border-color: #cbd5e1;
}
.empresa-offer-card--related .empresa-offer-card__cat {
  color: #64748b;
}
.contact-target,
.contact-page-aside .contact-target {
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 55%);
  border: 1px solid rgba(242, 107, 10, 0.25);
  box-shadow: 0 4px 18px rgba(242, 107, 10, 0.08);
}
.contact-target__eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c2410c;
}
.contact-target__main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-target__avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}
.contact-target__name {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.contact-target__meta {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}
.contact-target__offer {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
}
.contact-target__profile {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #c2410c;
  text-decoration: none;
}
.contact-target__profile:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .empresa-hero__layout { flex-direction: column; align-items: center; text-align: center; }
  .empresa-hero__title-row { justify-content: center; }
  .empresa-hero__description { max-width: none; }
  .empresa-hero__social { justify-content: center; }
  .empresa-hero__actions { justify-content: center; }
  .empresa-datos__row { grid-template-columns: 1fr; gap: 4px; }
}
.ml-grid:not([class*="ml-grid--view-"]) .ml-card--premium { grid-column: span 2; }
@media (max-width: 768px) {
  .ml-grid:not([class*="ml-grid--view-"]) .ml-card--premium { grid-column: span 1; }
}
.badge-premium { background: linear-gradient(135deg, #f59e0b, #ef8416); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ml-card__profile-link {
  font-size: 12px;
  color: var(--accent, #ef8416);
  margin-left: auto;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Landing: emprendedores destacados + blog (fondos claros, texto legible) */
.landing-premium,
.landing-blog {
  padding: clamp(64px, 8vw, 88px) 0;
  color: var(--ink-on-light);
}

.landing-premium.section-cream,
.landing-blog.section-cream {
  background: linear-gradient(180deg, #faf5ed 0%, var(--bg-cream) 48%, #e8dfd2 100%);
}

.landing-section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.landing-section-head .section-title {
  color: var(--ink-on-light);
}

.landing-section-head .section-lead {
  color: var(--ink-muted-on-light);
  margin-inline: auto;
}

.landing-section-head .eyebrow {
  color: #8a3800;
}

.landing-premium__inner,
.landing-blog__inner {
  max-width: 1100px;
  margin-inline: auto;
}

.landing-premium-grid,
.landing-blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 24px);
  margin-inline: auto;
}

.landing-premium-card,
.landing-blog-card {
  flex: 1 1 280px;
  max-width: 340px;
  width: 100%;
  text-decoration: none;
  color: var(--ink-on-light);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.landing-premium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid rgba(242, 107, 10, 0.22);
  box-shadow: 0 10px 28px rgba(90, 55, 30, 0.08);
  position: relative;
}

.landing-premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 107, 10, 0.45);
  box-shadow: 0 16px 36px rgba(90, 55, 30, 0.12);
}

.landing-premium-card .badge-premium {
  position: absolute;
  top: 14px;
  left: 14px;
}

.landing-premium-card__media {
  margin-top: 8px;
  margin-bottom: 14px;
}

.landing-premium-card img.provider-landing-avatar {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.landing-premium-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.landing-premium-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-on-light);
}

.landing-premium-card__cat {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c2410c;
}

.landing-premium-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted-on-light);
  line-height: 1.4;
}

.landing-premium-cta {
  margin-top: 10px;
  color: #c2410c;
  font-weight: 700;
  font-size: 0.9rem;
}

.landing-blog__all {
  margin: 4px 0 0;
}

.landing-blog__all-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: #c2410c;
  text-decoration: none;
}

.landing-blog__all-link:hover {
  text-decoration: underline;
}

.landing-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.landing-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(242, 107, 10, 0.25);
}

.landing-blog-card__media {
  flex: 0 0 auto;
  background: #e8dfd2;
}

.landing-blog-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.landing-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px 20px;
  gap: 8px;
}

.landing-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.landing-blog-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.landing-blog-card__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-on-light);
}

.landing-blog-card__excerpt {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted-on-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-blog-card__cta {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #c2410c;
}

.landing-premium-grid[data-count="1"] .landing-premium-card,
.landing-premium-grid[data-count="2"] .landing-premium-card,
.landing-blog-grid[data-count="1"] .landing-blog-card,
.landing-blog-grid[data-count="2"] .landing-blog-card {
  max-width: 360px;
}

@media (max-width: 640px) {
  .landing-premium-card,
  .landing-blog-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Showcase provider chips (home) */
.showcase-providers { margin-top: 32px; }
.showcase-providers__label { font-size: 14px; font-weight: 600; color: #64748b; margin: 0 0 12px; }
.showcase-providers__grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.showcase-provider-chip {
  display: inline-flex; flex-direction: column; padding: 10px 16px;
  border-radius: 999px; background: #fff; border: 1px solid #e2e8f0;
  text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.showcase-provider-chip:hover { border-color: var(--accent, #ef8416); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.showcase-provider-chip__name { font-weight: 600; font-size: 14px; }
.showcase-provider-chip__meta { font-size: 12px; color: #64748b; }
.market-meta__links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.market-meta__links a { font-size: 13px; font-weight: 600; color: var(--accent, #ef8416); }
.market-meta__secondary { color: #64748b !important; font-weight: 500 !important; }

/* Avatar emprendedor (sin foto de stock por defecto) */
.provider-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fb923c 0%, #ea580c 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}
.provider-avatar--img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.provider-avatar--xs.provider-avatar--placeholder,
.provider-avatar--xs.provider-avatar--img {
  width: 32px;
  height: 32px;
  font-size: 11px;
}
.provider-avatar--sm.provider-avatar--placeholder,
.provider-avatar--sm.provider-avatar--img {
  width: 48px;
  height: 48px;
  font-size: 14px;
}
.provider-avatar--md.provider-avatar--placeholder,
.provider-avatar--md.provider-avatar--img {
  width: 48px;
  height: 48px;
  font-size: 15px;
}
.provider-avatar--lg.provider-avatar--placeholder,
.provider-avatar--lg.provider-avatar--img,
.empresa-hero__logo.provider-avatar--placeholder {
  width: 128px;
  height: 128px;
  font-size: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.ml-card__brand .provider-avatar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.contact-target__avatar.provider-avatar--placeholder {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

/* =========================================================
   Directorio catalog overhaul (list / grid3 / compact + feed ads)
   ========================================================= */

.page-main.ml-layout--catalog > .container {
  width: min(100% - 24px, 1520px);
  max-width: none;
}

.ml-grid[class*="ml-grid--view-"] {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr !important;
}

@media (min-width: 992px) {
  .ml-grid--view-grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .ml-view-btn--grid3 {
    display: none !important;
  }
}

.ml-grid--view-list .ml-card--premium,
.ml-grid--view-grid3 .ml-card--premium,
.ml-grid--view-compact .ml-card--premium {
  grid-column: span 1 !important;
}

/* Lista: fila en desktop, columna en móvil */
@media (min-width: 992px) {
  .ml-grid--view-list .ml-card.ml-card--list {
    display: grid;
    grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
    grid-template-rows: auto;
    flex-direction: unset;
    align-items: stretch;
    min-height: 200px;
  }
  .ml-grid--view-list .ml-card--list .ml-card__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 200px;
  }
  .ml-grid--view-list .ml-card--list .ml-card__photo {
    height: 100%;
    min-height: 200px;
  }
  .ml-grid--view-list .ml-card--list .ml-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
  }
}

@media (max-width: 991px) {
  .ml-grid--view-list .ml-card.ml-card--list {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .ml-grid--view-list .ml-card--list .ml-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }
  .ml-grid--view-list .ml-card--list .ml-card__photo {
    min-height: 0;
    height: auto;
  }
}

/* Compacta: fila densa, siempre 1 columna */
.ml-grid--view-compact .ml-card.ml-card--compact {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-rows: auto;
  flex-direction: unset;
  align-items: stretch;
  min-height: 0;
}
.ml-grid--view-compact .ml-card--compact .ml-card__media {
  aspect-ratio: 1;
  min-height: 100px;
  height: 100%;
}
.ml-grid--view-compact .ml-card--compact .ml-card__photo {
  height: 100%;
  min-height: 100px;
}
.ml-grid--view-compact .ml-card--compact .ml-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
}
.ml-grid--view-compact .ml-card--compact .ml-card__meta,
.ml-grid--view-compact .ml-card--compact .ml-card__summary,
.ml-grid--view-compact .ml-card--compact .ml-card__foot {
  display: none;
}
.ml-grid--view-compact .ml-card--compact .ml-card__title {
  font-size: 15px;
  margin: 0;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ml-grid--view-compact .ml-card--compact .ml-card__price {
  margin: 0;
  font-size: 17px;
}
.ml-grid--view-compact .ml-card--compact .ml-card__chip--inline {
  position: static;
  top: auto;
  right: auto;
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  padding: 2px 8px;
  margin-top: 4px;
  border-radius: 6px;
  background: rgba(15, 16, 24, 0.1);
  color: #475569;
}

/* Grilla ×3: tarjetas verticales */
.ml-grid--view-grid3 .ml-card.ml-card--grid3 {
  flex-direction: column;
  display: flex;
}

/* Publicidad entre resultados */
.ml-feed-ad {
  grid-column: 1 / -1;
  width: 100%;
  margin: 4px 0;
}
.ml-feed-ad__variant--mob {
  display: none;
}
.ml-feed-ad__variant--desk {
  display: block;
}
@media (max-width: 991px) {
  .ml-feed-ad__variant--mob {
    display: block;
  }
  .ml-feed-ad__variant--desk {
    display: none;
  }
}
.ad-slot--feed {
  width: 100%;
}
.ad-slot--feed .ad-slot__frame {
  width: 100%;
  max-height: 120px;
  aspect-ratio: 728 / 90 !important;
}
@media (max-width: 991px) {
  .ad-slot--feed .ad-slot__frame {
    aspect-ratio: 320 / 100 !important;
    max-height: 100px;
  }
}

/* Filtros precio en drawer */
.price-range.price-range--drawer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: end;
}
.price-range.price-range--drawer > span {
  display: none;
}
.price-range.price-range--drawer .ml-drawer-apply-btn,
.price-range.price-range--drawer + .ml-drawer-apply-btn {
  grid-column: 1 / -1;
}

