/**
 * Yummy Marketplace - Branding CSS
 * Version: 3.5.1
 * Todo el CSS está bajo .ymp-home (homepage) o .ymp-form (comercios)
 * Esto evita conflictos con Elementor header/footer
 *
 * CHANGELOG 3.5.1:
 *   - Post container ampliado de 920px a 1100px (mejor uso del ancho)
 *   - Eliminada regla contradictoria de 720px
 *   - Añadida clase .ymp-post-hero-img para imágenes que necesitan ancho completo
 */

:root {
  /* PRIME — Brand colors */
  --ymp-prime: #A020F0;
  --ymp-prime-deep: #7B1FA2;
  --ymp-prime-soft: #F3E5FF;
  --ymp-prime-mid: #E0BBFF;

  /* CTA color */
  --ymp-cta: #b42be3;
  --ymp-cta-deep: #9520C0;

  /* Neutrals */
  --ymp-text: #1A0E2E;
  --ymp-text-soft: #4B3F63;
  --ymp-text-muted: #8B7FA0;
  --ymp-line: #F0E8FA;
  --ymp-line-soft: #F7F2FC;
  --ymp-bg: #FFFFFF;
  --ymp-bg-soft: #FBF8FF;

  /* Semantic */
  --ymp-success: #43D943;
  --ymp-success-soft: #DCFCDB;
  --ymp-error: #FF534E;
  --ymp-error-soft: #FFE5E4;
}

/* ============================================
   HOMEPAGE - todo bajo .ymp-home
   ============================================ */

.ymp-home {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ymp-text);
  width: 100%;
}

.ymp-home *,
.ymp-home *::before,
.ymp-home *::after {
  box-sizing: border-box;
}

.ymp-home .eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ymp-cta);
}

.ymp-home .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

@media (max-width: 1199px) {
  .ymp-home .container {
    padding: 0 48px;
  }
}

@media (max-width: 768px) {
  .ymp-home .container {
    padding: 0 24px;
  }
}

/* ===== HERO ===== */
.ymp-home .hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--ymp-bg);
}

.ymp-home .hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 43, 227, 0.10) 0%, transparent 65%);
  z-index: 0;
}

.ymp-home .hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 43, 227, 0.08) 0%, transparent 65%);
  z-index: 0;
}

.ymp-home .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .ymp-home .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.ymp-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  background: var(--ymp-prime-soft);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ymp-prime-mid);
}

.ymp-home .hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ymp-cta);
}

.ymp-home .hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ymp-text);
  margin: 0 0 24px 0;
}

.ymp-home .hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-cta);
}

.ymp-home .hero-sub {
  font-size: 18px;
  color: var(--ymp-text-soft);
  max-width: 520px;
  margin: 0 0 32px 0;
  line-height: 1.6;
  font-weight: 500;
}

.ymp-home .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ymp-home .btn-primary {
  background: var(--ymp-cta);
  color: white;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px -4px rgba(180, 43, 227, 0.4);
  transition: all 0.25s;
  border: none;
}

.ymp-home .btn-primary:hover {
  background: var(--ymp-cta-deep);
  transform: translateY(-2px);
  color: white;
}

.ymp-home .btn-secondary {
  background: white;
  color: var(--ymp-text);
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--ymp-line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.ymp-home .btn-secondary:hover {
  border-color: var(--ymp-cta);
  color: var(--ymp-cta);
}

.ymp-home .hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--ymp-line);
  padding-top: 28px;
  flex-wrap: wrap;
}

.ymp-home .stat-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ymp-text);
  display: block;
  margin-bottom: 4px;
}

.ymp-home .stat-num em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-cta);
}

.ymp-home .stat-label {
  font-size: 12px;
  color: var(--ymp-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PHONE MOCKUP ===== */
.ymp-home .hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymp-home .phone-frame {
  width: 280px;
  height: 580px;
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 50px 100px -20px rgba(180, 43, 227, 0.35), 0 25px 50px -12px rgba(180, 43, 227, 0.2);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}

.ymp-home .phone-screen {
  background: var(--ymp-bg-soft);
  border-radius: 32px;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ymp-home .phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ymp-home .float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 20px 50px -10px rgba(180, 43, 227, 0.25);
  border: 1px solid var(--ymp-line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  z-index: 3;
}

.ymp-home .float-card-1 { top: 80px; left: -20px; }
.ymp-home .float-card-2 { bottom: 100px; right: -10px; }
.ymp-home .float-card-3 { top: 240px; right: 30px; }

.ymp-home .float-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ymp-home .float-icon.violet { background: var(--ymp-prime-soft); color: var(--ymp-cta); }
.ymp-home .float-icon.magenta { background: var(--ymp-prime-soft); color: var(--ymp-cta); }
.ymp-home .float-icon.yellow { background: #FEF3C7; color: #B45309; }

.ymp-home .float-card small {
  font-weight: 500;
  color: var(--ymp-text-muted);
  font-size: 11px;
  display: block;
}

/* ===== TRUST BAR ===== */
.ymp-home .trust-bar {
  background: var(--ymp-bg-soft);
  border-top: 1px solid var(--ymp-line);
  border-bottom: 1px solid var(--ymp-line);
  padding: 32px 0;
}

.ymp-home .trust-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 1199px) {
  .ymp-home .trust-bar-inner { padding: 0 48px; }
}

@media (max-width: 768px) {
  .ymp-home .trust-bar-inner { padding: 0 24px; }
}

.ymp-home .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ymp-text-soft);
  font-weight: 600;
  font-size: 14px;
}

.ymp-home .trust-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--ymp-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ymp-cta);
}

.ymp-home .trust-item-icon svg {
  width: 20px;
  height: 20px;
}

/* ===== SECTIONS ===== */
.ymp-home .section {
  padding: 100px 0;
  position: relative;
}

.ymp-home .section-alt {
  background: var(--ymp-bg-soft);
}

.ymp-home .section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.ymp-home .section-head.center {
  margin: 0 auto 64px;
  text-align: center;
}

.ymp-home .section h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ymp-text);
  margin: 16px 0 20px 0;
}

.ymp-home .section h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-cta);
}

.ymp-home .section-sub {
  font-size: 17px;
  color: var(--ymp-text-soft);
  line-height: 1.6;
  max-width: 580px;
  font-weight: 500;
}

.ymp-home .section-head.center .section-sub {
  margin: 0 auto;
}

/* ===== STEPS / HOW IT WORKS ===== */
.ymp-home .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .ymp-home .steps-grid { grid-template-columns: 1fr; }
  .ymp-home .section { padding: 64px 0; }
}

.ymp-home .step-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--ymp-line);
  transition: all 0.3s;
}

.ymp-home .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -15px rgba(180, 43, 227, 0.15);
  border-color: var(--ymp-prime-mid);
}

.ymp-home .step-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 60px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ymp-cta);
  margin: 0 0 20px 0;
  display: block;
}

.ymp-home .step-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
  color: var(--ymp-text);
}

.ymp-home .step-card p {
  color: var(--ymp-text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ===== WHY YUMMY ===== */
.ymp-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

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

.ymp-home .why-card {
  background: white;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--ymp-line);
  transition: all 0.3s;
}

.ymp-home .why-card:hover {
  border-color: var(--ymp-prime-mid);
  background: var(--ymp-prime-soft);
  transform: translateY(-4px);
}

.ymp-home .why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--ymp-cta);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0;
  box-shadow: 0 6px 16px -4px rgba(180, 43, 227, 0.4);
}

.ymp-home .why-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.ymp-home .why-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
  color: var(--ymp-text);
}

.ymp-home .why-card p {
  color: var(--ymp-text-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ===== COMPARE TABLE ===== */
.ymp-home .compare-table {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(180, 43, 227, 0.15);
  border: 1px solid var(--ymp-line);
  margin-top: 48px;
}

.ymp-home .compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
}

.ymp-home .compare-head {
  background: var(--ymp-bg-soft);
  border-bottom: 2px solid var(--ymp-line);
}

.ymp-home .compare-head .compare-cell {
  padding: 20px 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ymp-text);
}

.ymp-home .compare-head .compare-cell.us {
  background: var(--ymp-cta);
  color: white;
}

.ymp-home .compare-cell {
  padding: 18px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--ymp-line);
  font-weight: 600;
  color: var(--ymp-text-soft);
}

.ymp-home .compare-cell:first-child {
  font-weight: 700;
  color: var(--ymp-text);
}

.ymp-home .compare-cell.center { text-align: center; }

.ymp-home .compare-row:last-child .compare-cell { border-bottom: none; }

.ymp-home .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
  font-weight: 900;
  font-size: 13px;
}

.ymp-home .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 900;
  font-size: 13px;
}

@media (max-width: 768px) {
  .ymp-home .compare-cell { padding: 12px 6px; font-size: 11px; }
  .ymp-home .compare-head .compare-cell { padding: 12px 6px; font-size: 11px; }
}

/* ===== EDUCATIONAL ===== */
.ymp-home .edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .ymp-home .edu-grid { grid-template-columns: 1fr; gap: 48px; }
}

.ymp-home .edu-list {
  list-style: none;
  margin: 28px 0 0 0;
  padding: 0;
}

.ymp-home .edu-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--ymp-line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ymp-home .edu-list li:last-child { border-bottom: none; }

.ymp-home .edu-num {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--ymp-cta);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.ymp-home .edu-list h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 6px 0;
  color: var(--ymp-text);
}

.ymp-home .edu-list p {
  font-size: 14px;
  color: var(--ymp-text-soft);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

.ymp-home .edu-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ymp-cta);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  box-shadow: 0 32px 64px -20px rgba(180, 43, 227, 0.35);
}

.ymp-home .edu-quote-mark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 160px;
  line-height: 0.6;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
  display: block;
  letter-spacing: -0.05em;
}

.ymp-home .edu-quote-text {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  color: white;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.ymp-home .edu-quote-author {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 13px;
}

/* ===== PRICING ===== */
.ymp-home .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .ymp-home .pricing-grid { grid-template-columns: 1fr; }
  .ymp-home .pricing-card.featured { transform: scale(1); }
}

.ymp-home .pricing-card {
  background: white;
  border-radius: 24px;
  padding: 36px 28px;
  border: 1px solid var(--ymp-line);
  position: relative;
}

.ymp-home .pricing-card.featured {
  border: 2px solid var(--ymp-cta);
  transform: scale(1.04);
  box-shadow: 0 24px 60px -20px rgba(180, 43, 227, 0.3);
  background: var(--ymp-prime-soft);
}

.ymp-home .pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ymp-cta);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ymp-home .pricing-tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ymp-cta);
  margin-bottom: 14px;
}

.ymp-home .pricing-price {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 6px 0;
  color: var(--ymp-text);
}

.ymp-home .pricing-price em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-text-muted);
  font-size: 20px;
}

.ymp-home .pricing-price-sub {
  font-size: 13px;
  color: var(--ymp-text-muted);
  margin: 0 0 28px 0;
  font-weight: 600;
}

.ymp-home .pricing-features {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
}

.ymp-home .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ymp-text-soft);
  border-bottom: 1px solid var(--ymp-line-soft);
  font-weight: 500;
}

.ymp-home .pricing-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ymp-home .pricing-card.featured .pricing-features li::before {
  background: var(--ymp-cta);
  color: white;
}

.ymp-home .pricing-cta {
  display: block;
  text-align: center;
  background: white;
  color: var(--ymp-cta);
  padding: 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--ymp-cta);
  transition: all 0.25s;
}

.ymp-home .pricing-card.featured .pricing-cta {
  background: var(--ymp-cta);
  color: white;
  border-color: transparent;
}

.ymp-home .pricing-cta:hover { background: var(--ymp-prime-soft); }
.ymp-home .pricing-card.featured .pricing-cta:hover { background: var(--ymp-cta-deep); color: white; }

/* ===== FAQ ===== */
.ymp-home .faq-list {
  max-width: 880px;
  margin: 48px auto 0;
}

.ymp-home .faq-item {
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 16px;
  padding: 4px 24px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.ymp-home .faq-item:hover { border-color: var(--ymp-prime-mid); }

.ymp-home .faq-item[open] {
  border-color: var(--ymp-cta);
  background: var(--ymp-prime-soft);
}

.ymp-home .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ymp-text);
  list-style: none;
  gap: 20px;
  padding: 18px 0;
}

.ymp-home .faq-question::-webkit-details-marker { display: none; }

.ymp-home .faq-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
  font-weight: 900;
  border: 1px solid var(--ymp-prime-mid);
  font-size: 16px;
}

.ymp-home .faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--ymp-cta);
  color: white;
  border-color: transparent;
}

.ymp-home .faq-answer {
  padding-bottom: 18px;
  color: var(--ymp-text-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
  font-weight: 500;
}

/* ===== FINAL CTA ===== */
.ymp-home .final-cta {
  padding: 100px 0;
  background: var(--ymp-cta);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ymp-home .final-cta-inner {
  position: relative;
  z-index: 1;
}

.ymp-home .final-cta .eyebrow {
  color: rgba(255,255,255,0.95);
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 24px;
}

.ymp-home .final-cta h2 {
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 24px 0;
  color: white;
}

.ymp-home .final-cta h2 em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.ymp-home .final-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.ymp-home .app-stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ymp-home .app-store-btn {
  background: white;
  color: var(--ymp-text);
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
  transition: all 0.25s;
}

.ymp-home .app-store-btn:hover { transform: translateY(-2px); }

.ymp-home .app-store-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymp-home .app-store-icon svg {
  width: 100%;
  height: 100%;
}

.ymp-home .app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ymp-home .app-store-text small {
  font-size: 10px;
  font-weight: 500;
  color: var(--ymp-text-muted);
  letter-spacing: 0.05em;
}

.ymp-home .app-store-text strong {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

/* ============================================
   FORMULARIO COMERCIOS - todo bajo .ymp-form
   ============================================ */

.ymp-form {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ymp-text);
  padding: 80px 24px;
  background: var(--ymp-bg);
}

.ymp-form *,
.ymp-form *::before,
.ymp-form *::after {
  box-sizing: border-box;
}

.ymp-form .form-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.ymp-form .form-head {
  text-align: center;
  margin-bottom: 48px;
}

.ymp-form .form-head .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ymp-cta);
  display: inline-block;
  margin-bottom: 16px;
}

.ymp-form .form-head h2 {
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: var(--ymp-text);
}

.ymp-form .form-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-cta);
}

.ymp-form .form-head p {
  color: var(--ymp-text-soft);
  font-size: 16px;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto;
}

.ymp-form .progress-wrap {
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 16px;
  padding: 20px 28px;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.ymp-form .progress-info { flex-shrink: 0; }

.ymp-form .progress-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ymp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  display: block;
}

.ymp-form .progress-value {
  font-weight: 900;
  font-size: 22px;
  color: var(--ymp-text);
  letter-spacing: -0.02em;
}

.ymp-form .progress-value span { color: var(--ymp-cta); }

.ymp-form .progress-bar {
  flex: 1;
  height: 8px;
  background: var(--ymp-line);
  border-radius: 999px;
  overflow: hidden;
}

.ymp-form .progress-fill {
  height: 100%;
  background: var(--ymp-cta);
  border-radius: 999px;
  transition: width 0.4s;
  width: 0%;
}

.ymp-form .success-card {
  display: none;
  background: var(--ymp-cta);
  color: white;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}

.ymp-form .success-card.show { display: block; }

.ymp-form .success-icon {
  width: 72px;
  height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--ymp-cta);
  font-weight: 900;
}

.ymp-form .success-card h3 {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

.ymp-form .success-card p {
  font-size: 16px;
  opacity: 0.95;
  max-width: 480px;
  margin: 0 auto;
  font-weight: 500;
}

.ymp-form .form-card {
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px -15px rgba(124, 58, 237, 0.10);
}

@media (max-width: 700px) {
  .ymp-form .form-card { padding: 28px 20px; }
}

.ymp-form .form-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ymp-form .form-section-title:not(:first-child) {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--ymp-line);
}

.ymp-form .form-section-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--ymp-cta);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px rgba(180, 43, 227, 0.4);
}

.ymp-form .form-section-title h3 {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ymp-text);
  margin: 0;
}

.ymp-form .form-section-desc {
  color: var(--ymp-text-soft);
  font-size: 14px;
  margin: 0 0 24px 46px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .ymp-form .form-section-desc { margin-left: 0; }
}

.ymp-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ymp-form .form-grid .full { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .ymp-form .form-grid { grid-template-columns: 1fr; }
}

.ymp-form .field { position: relative; }

.ymp-form .field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ymp-text);
  margin: 0 0 6px 0;
  letter-spacing: -0.005em;
}

.ymp-form .field label .required {
  color: var(--ymp-cta);
  margin-left: 2px;
}

.ymp-form .field-hint {
  font-size: 12px;
  color: var(--ymp-text-muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.ymp-form .field input[type="text"],
.ymp-form .field input[type="email"],
.ymp-form .field input[type="tel"],
.ymp-form .field input[type="url"],
.ymp-form .field input[type="time"],
.ymp-form .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ymp-text);
  background: var(--ymp-bg-soft);
  border: 1.5px solid var(--ymp-line);
  border-radius: 10px;
  transition: all 0.2s;
  outline: none;
}

.ymp-form .field input:focus,
.ymp-form .field textarea:focus {
  border-color: var(--ymp-cta);
  background: white;
  box-shadow: 0 0 0 3px rgba(180, 43, 227, 0.12);
}

.ymp-form .field textarea {
  resize: vertical;
  min-height: 80px;
}

.ymp-form .field-icon { display: none; }

.ymp-form .time-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.ymp-form .time-range .dash {
  color: var(--ymp-text-muted);
  font-weight: 700;
  font-size: 14px;
}

.ymp-form .docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 700px) {
  .ymp-form .docs-grid { grid-template-columns: 1fr; }
}

.ymp-form .file-upload {
  background: var(--ymp-bg-soft);
  border: 2px dashed var(--ymp-prime-mid);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  display: block;
  transition: all 0.25s;
  overflow: hidden;
}

.ymp-form .file-upload:hover {
  border-color: var(--ymp-cta);
  background: var(--ymp-prime-soft);
}

.ymp-form .file-upload.has-file {
  border-style: solid;
  border-color: var(--ymp-success);
  background: var(--ymp-success-soft);
}

.ymp-form .file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  border: none;
  padding: 0;
  margin: 0;
}

.ymp-form .file-upload-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.ymp-form .file-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--ymp-line);
}

.ymp-form .file-icon svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  color: var(--ymp-cta);
  stroke: var(--ymp-cta);
  fill: none;
  display: block;
}

.ymp-form .file-upload.has-file .file-icon svg {
  color: var(--ymp-success);
  stroke: var(--ymp-success);
}

.ymp-form .file-info { flex: 1; min-width: 0; }

.ymp-form .file-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ymp-text);
  margin-bottom: 2px;
  line-height: 1.3;
}

.ymp-form .file-status {
  font-size: 12px;
  color: var(--ymp-text-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ymp-form .file-upload.has-file .file-status {
  color: var(--ymp-success);
  font-weight: 700;
}

.ymp-form .form-submit {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ymp-line);
  text-align: center;
}

.ymp-form .form-submit-note {
  font-size: 13px;
  color: var(--ymp-text-muted);
  margin: 0 0 16px 0;
  font-weight: 500;
}

.ymp-form .form-submit-note a {
  color: var(--ymp-cta);
  font-weight: 700;
  text-decoration: none;
}

.ymp-form .btn-submit {
  background: var(--ymp-cta);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 28px -8px rgba(180, 43, 227, 0.5);
  transition: all 0.25s;
}

.ymp-form .btn-submit:hover {
  background: var(--ymp-cta-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(180, 43, 227, 0.6);
}


/* ============================================
   FIX: Forzar padding lateral en .ymp-home secciones
   Esto garantiza que el contenido no quede pegado al borde
   ============================================ */

.ymp-home {
  width: 100%;
  overflow-x: hidden;
}

/* Aplicar padding al wrapper .ymp-home directamente */
.ymp-home .hero,
.ymp-home .section,
.ymp-home .final-cta,
.ymp-home .trust-bar {
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 1199px) {
  .ymp-home .hero,
  .ymp-home .section,
  .ymp-home .final-cta,
  .ymp-home .trust-bar {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 768px) {
  .ymp-home .hero,
  .ymp-home .section,
  .ymp-home .final-cta,
  .ymp-home .trust-bar {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Container ahora solo limita ancho, sin padding */
.ymp-home .container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Trust bar inner sin padding propio (el padre ya lo tiene) */
.ymp-home .trust-bar-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}


/* ============================================
   CACHE-BUSTING OVERRIDES
   Override reglas cacheadas viejas de versiones anteriores
   ============================================ */

html body .ymp-home,
html body div.ymp-home {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
}

html body .ymp-home .hero,
html body .ymp-home .section,
html body .ymp-home .final-cta,
html body .ymp-home .trust-bar {
  padding-left: 48px !important;
  padding-right: 48px !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

html body .ymp-home .trust-bar {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

@media (max-width: 1199px) {
  html body .ymp-home .hero,
  html body .ymp-home .section,
  html body .ymp-home .final-cta,
  html body .ymp-home .trust-bar {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

@media (max-width: 768px) {
  html body .ymp-home .hero,
  html body .ymp-home .section,
  html body .ymp-home .final-cta,
  html body .ymp-home .trust-bar {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* Container reset: no padding, solo centra */
html body .ymp-home .container {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

html body .ymp-home .trust-bar-inner {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* IMPORTANTE: Anular reglas viejas que aplicaban a .elementor-widget-html .container */
.elementor-widget-html .ymp-home .container {
  max-width: 1440px !important;
  padding: 0 !important;
}


/* ============================================
   AJUSTES FINALES - ancho + difuminado full-width
   ============================================ */

/* Padding más cómodo, contenido más ancho */
html body .ymp-home .hero,
html body .ymp-home .section,
html body .ymp-home .final-cta,
html body .ymp-home .trust-bar {
  padding-left: 48px !important;
  padding-right: 48px !important;
}

@media (max-width: 1199px) {
  html body .ymp-home .hero,
  html body .ymp-home .section,
  html body .ymp-home .final-cta,
  html body .ymp-home .trust-bar {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

@media (max-width: 768px) {
  html body .ymp-home .hero,
  html body .ymp-home .section,
  html body .ymp-home .final-cta,
  html body .ymp-home .trust-bar {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Container más amplio */
html body .ymp-home .container {
  max-width: 1600px !important;
}

html body .ymp-home .trust-bar-inner {
  max-width: 1600px !important;
}

/* ============================================
   DIFUMINADO MORADO FULL-WIDTH
   Los blobs ahora se extienden por todo el ancho
   ============================================ */

.ymp-home .hero {
  position: relative;
  overflow: visible !important;
}

.ymp-home .hero::before {
  content: '' !important;
  position: absolute !important;
  top: -100px !important;
  right: -300px !important;
  width: 1200px !important;
  height: 1000px !important;
  background: radial-gradient(circle at center, rgba(180, 43, 227, 0.18) 0%, rgba(180, 43, 227, 0.08) 30%, transparent 70%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  filter: blur(40px) !important;
}

.ymp-home .hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: -400px !important;
  left: -300px !important;
  width: 1200px !important;
  height: 1000px !important;
  background: radial-gradient(circle at center, rgba(180, 43, 227, 0.15) 0%, rgba(180, 43, 227, 0.06) 30%, transparent 70%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  filter: blur(40px) !important;
}

/* Asegurar que el contenido del hero quede por encima de los blobs */
.ymp-home .hero > .container,
.ymp-home .hero-grid {
  position: relative !important;
  z-index: 1 !important;
}

/* Trust bar también con un toque de difuminado sutil */
.ymp-home .trust-bar {
  position: relative;
  overflow: hidden;
}

.ymp-home .trust-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(180, 43, 227, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ymp-home .trust-bar-inner {
  position: relative;
  z-index: 1;
}


/* ============================================
   NAVEGACIÓN INTERNA DE LA HOME
   Se queda fijo arriba, se ve solo en la homepage
   ============================================ */

.ymp-home .ymp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ymp-line);
  padding: 0 !important;
  margin: 0 -48px 0 -48px;
}

@media (max-width: 1199px) {
  .ymp-home .ymp-nav {
    margin: 0 -32px 0 -32px;
  }
}

@media (max-width: 768px) {
  .ymp-home .ymp-nav {
    margin: 0 -20px 0 -20px;
  }
}

.ymp-home .ymp-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1199px) {
  .ymp-home .ymp-nav-inner {
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .ymp-home .ymp-nav-inner {
    padding: 14px 20px;
  }
}

.ymp-home .ymp-nav-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.ymp-home .ymp-nav-logo:hover {
  opacity: 0.85;
}

.ymp-home .ymp-nav-logo img {
  display: block;
  height: 38px;
  width: auto;
}

.ymp-home .ymp-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ymp-home .ymp-nav-links li {
  list-style: none;
}

.ymp-home .ymp-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ymp-text-soft);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}

.ymp-home .ymp-nav-links a:hover {
  color: var(--ymp-cta);
}

.ymp-home .ymp-nav-cta {
  background: var(--ymp-cta);
  color: white;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 14px -2px rgba(180, 43, 227, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.ymp-home .ymp-nav-cta:hover {
  background: var(--ymp-cta-deep);
  transform: translateY(-1px);
  color: white;
  box-shadow: 0 8px 20px -4px rgba(180, 43, 227, 0.5);
}

/* Mobile toggle button - hidden on desktop */
.ymp-home .ymp-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.ymp-home .ymp-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ymp-text);
  border-radius: 2px;
  transition: all 0.25s;
}

.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.ymp-home .ymp-nav-mobile {
  display: none;
  background: white;
  border-top: 1px solid var(--ymp-line);
  padding: 16px 20px;
}

.ymp-home .ymp-nav.open .ymp-nav-mobile {
  display: block;
}

.ymp-home .ymp-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ymp-home .ymp-nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ymp-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}

.ymp-home .ymp-nav-mobile a:hover {
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
}

.ymp-home .ymp-nav-mobile-cta {
  background: var(--ymp-cta) !important;
  color: white !important;
  text-align: center;
  margin-top: 8px;
}

.ymp-home .ymp-nav-mobile-cta:hover {
  background: var(--ymp-cta-deep) !important;
  color: white !important;
}

/* Responsive: ocultar links desktop y mostrar toggle en mobile */
@media (max-width: 900px) {
  .ymp-home .ymp-nav-links,
  .ymp-home .ymp-nav-cta {
    display: none;
  }
  .ymp-home .ymp-nav-toggle {
    display: flex;
  }
}


/* ============================================
   FIX FORM COMERCIOS - centrar correctamente
   ============================================ */

html body .ymp-form {
  width: 100%;
  max-width: 100%;
  padding: 80px 48px;
  margin: 0;
  background: var(--ymp-bg);
}

@media (max-width: 1199px) {
  html body .ymp-form {
    padding: 80px 32px;
  }
}

@media (max-width: 768px) {
  html body .ymp-form {
    padding: 60px 20px;
  }
}

html body .ymp-form .form-wrap {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ============================================
   NAV FUNCIONA EN HOME Y COMERCIOS
   Replicar las reglas .ymp-home .ymp-nav también para .ymp-form
   ============================================ */

.ymp-form .ymp-nav,
.ymp-home .ymp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ymp-line);
  padding: 0;
}

/* Margins negativos para que el nav llegue full-width en comercios */
.ymp-form .ymp-nav {
  margin: -80px -48px 40px -48px;
}

@media (max-width: 1199px) {
  .ymp-form .ymp-nav {
    margin: -80px -32px 40px -32px;
  }
}

@media (max-width: 768px) {
  .ymp-form .ymp-nav {
    margin: -60px -20px 32px -20px;
  }
}

.ymp-form .ymp-nav-inner,
.ymp-home .ymp-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1199px) {
  .ymp-form .ymp-nav-inner,
  .ymp-home .ymp-nav-inner {
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .ymp-form .ymp-nav-inner,
  .ymp-home .ymp-nav-inner {
    padding: 14px 20px;
  }
}

.ymp-form .ymp-nav-logo,
.ymp-home .ymp-nav-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.ymp-form .ymp-nav-logo:hover,
.ymp-home .ymp-nav-logo:hover {
  opacity: 0.85;
}

.ymp-form .ymp-nav-logo img,
.ymp-home .ymp-nav-logo img {
  display: block;
  height: 38px;
  width: auto;
}

.ymp-form .ymp-nav-links,
.ymp-home .ymp-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ymp-form .ymp-nav-links li,
.ymp-home .ymp-nav-links li {
  list-style: none;
}

.ymp-form .ymp-nav-links a,
.ymp-home .ymp-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ymp-text-soft);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}

.ymp-form .ymp-nav-links a:hover,
.ymp-home .ymp-nav-links a:hover {
  color: var(--ymp-cta);
}

.ymp-form .ymp-nav-cta,
.ymp-home .ymp-nav-cta {
  background: var(--ymp-cta);
  color: white;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 14px -2px rgba(180, 43, 227, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.ymp-form .ymp-nav-cta:hover,
.ymp-home .ymp-nav-cta:hover {
  background: var(--ymp-cta-deep);
  transform: translateY(-1px);
  color: white;
  box-shadow: 0 8px 20px -4px rgba(180, 43, 227, 0.5);
}

.ymp-form .ymp-nav-toggle,
.ymp-home .ymp-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.ymp-form .ymp-nav-toggle span,
.ymp-home .ymp-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ymp-text);
  border-radius: 2px;
  transition: all 0.25s;
}

.ymp-form .ymp-nav.open .ymp-nav-toggle span:nth-child(1),
.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ymp-form .ymp-nav.open .ymp-nav-toggle span:nth-child(2),
.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.ymp-form .ymp-nav.open .ymp-nav-toggle span:nth-child(3),
.ymp-home .ymp-nav.open .ymp-nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.ymp-form .ymp-nav-mobile,
.ymp-home .ymp-nav-mobile {
  display: none;
  background: white;
  border-top: 1px solid var(--ymp-line);
  padding: 16px 20px;
}

.ymp-form .ymp-nav.open .ymp-nav-mobile,
.ymp-home .ymp-nav.open .ymp-nav-mobile {
  display: block;
}

.ymp-form .ymp-nav-mobile ul,
.ymp-home .ymp-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ymp-form .ymp-nav-mobile a,
.ymp-home .ymp-nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ymp-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}

.ymp-form .ymp-nav-mobile a:hover,
.ymp-home .ymp-nav-mobile a:hover {
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
}

.ymp-form .ymp-nav-mobile-cta,
.ymp-home .ymp-nav-mobile-cta {
  background: var(--ymp-cta);
  color: white;
  text-align: center;
  margin-top: 8px;
}

.ymp-form .ymp-nav-mobile-cta:hover,
.ymp-home .ymp-nav-mobile-cta:hover {
  background: var(--ymp-cta-deep);
  color: white;
}

@media (max-width: 900px) {
  .ymp-form .ymp-nav-links,
  .ymp-form .ymp-nav-cta,
  .ymp-home .ymp-nav-links,
  .ymp-home .ymp-nav-cta {
    display: none;
  }
  .ymp-form .ymp-nav-toggle,
  .ymp-home .ymp-nav-toggle {
    display: flex;
  }
}


/* ============================================
   SCHEDULE BUILDER - Selector de días con horarios
   ============================================ */

.ymp-form .schedule-builder {
  background: var(--ymp-bg-soft);
  border: 1px solid var(--ymp-line);
  border-radius: 14px;
  padding: 20px;
  margin-top: 8px;
}

/* Selectors de días (botones circulares con iniciales) */
.ymp-form .day-selectors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}

.ymp-form .day-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ymp-prime-mid);
  background: white;
  color: var(--ymp-text-soft);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.ymp-form .day-btn:hover {
  border-color: var(--ymp-cta);
  color: var(--ymp-cta);
}

.ymp-form .day-btn.active {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
  box-shadow: 0 4px 12px -2px rgba(180, 43, 227, 0.4);
}

/* Rows de horarios por día */
.ymp-form .schedule-rows {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ymp-form .schedule-rows:empty {
  display: none;
}

.ymp-form .schedule-day {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--ymp-line);
}

.ymp-form .schedule-day:first-child {
  border-top: none;
  padding-top: 0;
}

.ymp-form .schedule-day-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ymp-text);
  padding-top: 10px;
}

.ymp-form .schedule-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}

.ymp-form .schedule-range:last-child {
  margin-bottom: 0;
}

.ymp-form .schedule-range input[type="time"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ymp-text);
  background: white;
  border: 1.5px solid var(--ymp-line);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s;
}

.ymp-form .schedule-range input[type="time"]:focus {
  border-color: var(--ymp-cta);
  box-shadow: 0 0 0 3px rgba(180, 43, 227, 0.12);
}

.ymp-form .schedule-sep {
  color: var(--ymp-text-muted);
  font-weight: 600;
  font-size: 13px;
  padding: 0 4px;
}

.ymp-form .range-action {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ymp-prime-mid);
  background: white;
  color: var(--ymp-cta);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.ymp-form .range-action:hover {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
  transform: scale(1.05);
}

.ymp-form .range-remove:hover {
  background: var(--ymp-error);
  border-color: var(--ymp-error);
}

@media (max-width: 600px) {
  .ymp-form .schedule-day {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ymp-form .schedule-day-label {
    padding-top: 0;
    color: var(--ymp-cta);
  }
  .ymp-form .day-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .ymp-form .schedule-range {
    flex-wrap: wrap;
  }
  .ymp-form .schedule-range input[type="time"] {
    flex: 1 1 calc(50% - 30px);
    min-width: 100px;
  }
}


/* ============================================
   BLOG LISTING (/blog/) - .ymp-blog
   ============================================ */

.ymp-blog {
  font-family: 'DM Sans', sans-serif;
  color: var(--ymp-text);
  background: var(--ymp-bg);
  min-height: 100vh;
}

.ymp-blog *,
.ymp-blog *::before,
.ymp-blog *::after {
  box-sizing: border-box;
}

.ymp-blog .ymp-blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

@media (max-width: 768px) {
  .ymp-blog .ymp-blog-container {
    padding: 0 20px;
  }
}

.ymp-blog .ymp-blog-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ymp-cta);
}

/* Hero */
.ymp-blog-hero {
  padding: 80px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ymp-blog-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(180, 43, 227, 0.12) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  filter: blur(30px);
}

.ymp-blog-hero > .ymp-blog-container {
  position: relative;
  z-index: 1;
}

.ymp-blog-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 16px 0 16px 0;
  color: var(--ymp-text);
}

.ymp-blog-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-cta);
}

.ymp-blog-hero p {
  font-size: 17px;
  color: var(--ymp-text-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Buscador */
.ymp-blog-search {
  max-width: 580px;
  margin: 0 auto;
  background: white;
  border: 1.5px solid var(--ymp-line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px -10px rgba(180, 43, 227, 0.15);
  transition: all 0.25s;
}

.ymp-blog-search:focus-within {
  border-color: var(--ymp-cta);
  box-shadow: 0 12px 32px -8px rgba(180, 43, 227, 0.3);
}

.ymp-blog-search svg {
  color: var(--ymp-text-muted);
  flex-shrink: 0;
}

.ymp-blog-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ymp-text);
  padding: 10px 0;
  min-width: 0;
}

.ymp-blog-search input::placeholder {
  color: var(--ymp-text-muted);
}

.ymp-blog-search button {
  background: var(--ymp-cta);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.ymp-blog-search button:hover {
  background: var(--ymp-cta-deep);
}

/* Filtros */
.ymp-blog-filters {
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--ymp-line);
  margin-bottom: 48px;
}

.ymp-blog-filters .ymp-blog-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ymp-blog-chip {
  background: white;
  color: var(--ymp-text-soft);
  border: 1.5px solid var(--ymp-line);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ymp-blog-chip:hover {
  border-color: var(--ymp-cta);
  color: var(--ymp-cta);
}

.ymp-blog-chip.active {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
}

.ymp-blog-chip-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.ymp-blog-chip.active .ymp-blog-chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Results info */
.ymp-blog-results-info {
  margin-bottom: 32px;
  text-align: center;
}

.ymp-blog-results-info p {
  font-size: 16px;
  color: var(--ymp-text-soft);
  margin: 0 0 12px 0;
}

.ymp-blog-clear {
  display: inline-block;
  background: var(--ymp-cta);
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}

.ymp-blog-clear:hover {
  background: var(--ymp-cta-deep);
  color: white;
  transform: translateY(-1px);
}

/* Grid */
.ymp-blog-grid-section {
  padding-bottom: 80px;
}

.ymp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 968px) {
  .ymp-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ymp-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ymp-blog-card {
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.ymp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -15px rgba(180, 43, 227, 0.18);
  border-color: var(--ymp-prime-mid);
}

.ymp-blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ymp-blog-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--ymp-bg-soft);
  overflow: hidden;
}

.ymp-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ymp-blog-card:hover .ymp-blog-card-img img {
  transform: scale(1.05);
}

.ymp-blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ymp-prime-soft) 0%, var(--ymp-bg-soft) 100%);
  color: var(--ymp-prime-mid);
}

.ymp-blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  color: var(--ymp-cta);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.ymp-blog-card-body {
  padding: 24px;
}

.ymp-blog-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  color: var(--ymp-text);
}

.ymp-blog-card:hover .ymp-blog-card-title {
  color: var(--ymp-cta);
}

.ymp-blog-card-excerpt {
  font-size: 14px;
  color: var(--ymp-text-soft);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.ymp-blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--ymp-line);
  font-size: 13px;
  color: var(--ymp-text-muted);
  font-weight: 500;
}

.ymp-blog-card-read {
  color: var(--ymp-cta);
  font-weight: 700;
  transition: transform 0.2s;
}

.ymp-blog-card:hover .ymp-blog-card-read {
  transform: translateX(4px);
}

/* Paginación */
.ymp-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.ymp-blog-page a,
.ymp-blog-page span.current,
.ymp-blog-page span.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: white;
  border: 1.5px solid var(--ymp-line);
  border-radius: 12px;
  color: var(--ymp-text-soft);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.ymp-blog-page a:hover {
  border-color: var(--ymp-cta);
  color: var(--ymp-cta);
}

.ymp-blog-page span.current {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
}

/* Empty */
.ymp-blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ymp-text-soft);
}

.ymp-blog-empty svg {
  color: var(--ymp-prime-mid);
  margin-bottom: 20px;
}

.ymp-blog-empty h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ymp-text);
  margin: 0 0 8px 0;
}

.ymp-blog-empty p {
  margin: 0 0 24px 0;
}

/* Newsletter / CTA al final */
.ymp-blog-newsletter {
  padding: 80px 0;
  background: var(--ymp-bg-soft);
}

.ymp-blog-newsletter-card {
  background: var(--ymp-cta);
  color: white;
  text-align: center;
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: 0 32px 64px -20px rgba(180, 43, 227, 0.35);
}

.ymp-blog-newsletter-card .ymp-blog-eyebrow {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-block;
  margin-bottom: 20px;
}

.ymp-blog-newsletter-card h2 {
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: white;
}

.ymp-blog-newsletter-card h2 em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.ymp-blog-newsletter-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto 32px;
}

.ymp-blog-newsletter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ymp-blog-app-btn {
  background: white;
  color: var(--ymp-text);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s;
}

.ymp-blog-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2);
  color: var(--ymp-text);
}

/* ============================================
   POST INDIVIDUAL - .ymp-post
   ============================================ */

.ymp-post {
  font-family: 'DM Sans', sans-serif;
  color: var(--ymp-text);
  background: var(--ymp-bg);
  min-height: 100vh;
}

.ymp-post *,
.ymp-post *::before,
.ymp-post *::after {
  box-sizing: border-box;
}

.ymp-post .ymp-post-container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.ymp-post .ymp-post-container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumbs */
.ymp-post-breadcrumbs {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--ymp-text-muted);
}

.ymp-post-breadcrumbs a {
  color: var(--ymp-text-soft);
  text-decoration: none;
  font-weight: 600;
}

.ymp-post-breadcrumbs a:hover {
  color: var(--ymp-cta);
}

.ymp-post-breadcrumbs .sep {
  margin: 0 8px;
  color: var(--ymp-text-muted);
}

/* Header del artículo */
.ymp-post-header {
  padding: 48px 0 40px;
  text-align: center;
}

.ymp-post-category {
  display: inline-block;
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-bottom: 20px;
}

.ymp-post-category:hover {
  background: var(--ymp-cta);
  color: white;
}

.ymp-post-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 16px 0;
  color: var(--ymp-text);
}

.ymp-post-excerpt {
  font-size: 18px;
  color: var(--ymp-text-soft);
  line-height: 1.5;
  margin: 0 0 32px 0;
  font-weight: 500;
}

.ymp-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ymp-line);
  flex-wrap: wrap;
  gap: 16px;
}

.ymp-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.ymp-post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.ymp-post-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ymp-post-author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ymp-text);
}

.ymp-post-date {
  font-size: 13px;
  color: var(--ymp-text-muted);
}

.ymp-post-share {
  display: flex;
  gap: 6px;
}

.ymp-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ymp-line);
  background: white;
  color: var(--ymp-text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ymp-share-btn:hover {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
  transform: translateY(-2px);
}

.ymp-share-btn.copied {
  background: var(--ymp-success);
  color: white;
  border-color: var(--ymp-success);
}

/* Featured image */
.ymp-post-featured {
  padding: 0 0 40px;
}

.ymp-post-featured img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.15);
}

/* Contenido */
.ymp-post-content {
  padding: 0 0 40px;
}

.ymp-post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ymp-text);
}

.ymp-post-body p {
  margin: 0 0 24px 0;
}

.ymp-post-body h1,
.ymp-post-body h2,
.ymp-post-body h3,
.ymp-post-body h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ymp-text);
  margin: 40px 0 16px 0;
  line-height: 1.2;
}

.ymp-post-body h2 {
  font-size: 32px;
}

.ymp-post-body h3 {
  font-size: 24px;
}

.ymp-post-body h4 {
  font-size: 20px;
}

.ymp-post-body a {
  color: var(--ymp-cta);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.ymp-post-body a:hover {
  color: var(--ymp-cta-deep);
}

.ymp-post-body strong,
.ymp-post-body b {
  font-weight: 700;
  color: var(--ymp-text);
}

.ymp-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 32px 0;
  display: block;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.1);
}

.ymp-post-body figure {
  margin: 32px 0;
}

.ymp-post-body figcaption {
  font-size: 13px;
  color: var(--ymp-text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 8px;
}

.ymp-post-body ul,
.ymp-post-body ol {
  margin: 0 0 24px 0;
  padding-left: 28px;
}

.ymp-post-body li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.ymp-post-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--ymp-prime-soft);
  border-left: 4px solid var(--ymp-cta);
  border-radius: 0 16px 16px 0;
  font-size: 19px;
  font-style: italic;
  font-weight: 500;
  color: var(--ymp-text);
  line-height: 1.5;
}

.ymp-post-body blockquote p {
  margin: 0;
}

.ymp-post-body code {
  background: var(--ymp-bg-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--ymp-cta);
}

.ymp-post-body pre {
  background: var(--ymp-text);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  overflow-x: auto;
  margin: 32px 0;
}

.ymp-post-body pre code {
  background: transparent;
  padding: 0;
  color: white;
}

.ymp-post-body hr {
  border: none;
  height: 1px;
  background: var(--ymp-line);
  margin: 48px 0;
}

.ymp-post-body iframe {
  max-width: 100%;
  border-radius: 16px;
  margin: 24px 0;
}

/* Tags */
.ymp-post-tags {
  margin: 40px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ymp-post-tag {
  background: var(--ymp-bg-soft);
  color: var(--ymp-text-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--ymp-line);
}

.ymp-post-tag:hover {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
}

/* Share al final */
.ymp-post-share-end {
  margin-top: 48px;
  padding: 32px;
  background: var(--ymp-bg-soft);
  border-radius: 20px;
  text-align: center;
}

.ymp-post-share-end-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ymp-text-soft);
  margin-bottom: 16px;
}

.ymp-post-share-end .ymp-post-share {
  justify-content: center;
}

.ymp-share-btn-lg {
  width: auto;
  height: auto;
  padding: 10px 20px;
  border-radius: 999px;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.ymp-share-btn-lg span {
  display: inline-block;
}

/* CTA */
.ymp-post-cta {
  padding: 60px 0;
}

.ymp-post-cta-card {
  background: var(--ymp-cta);
  color: white;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 24px 60px -20px rgba(180, 43, 227, 0.35);
}

.ymp-post-cta-card h3 {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 12px 0;
  color: white;
}

.ymp-post-cta-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px 0;
}

.ymp-post-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ymp-post-cta-btn {
  background: white;
  color: var(--ymp-text);
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}

.ymp-post-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.25);
  color: var(--ymp-text);
}

.ymp-post-cta-btn-alt {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.ymp-post-cta-btn-alt:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Posts relacionados */
.ymp-post-related {
  padding: 80px 0;
  background: var(--ymp-bg-soft);
}

.ymp-post-related-head {
  text-align: center;
  margin-bottom: 48px;
}

.ymp-post-related-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ymp-cta);
  display: block;
  margin-bottom: 12px;
}

.ymp-post-related h2 {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ymp-text);
}

.ymp-post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.ymp-post-card {
  background: white;
  border: 1px solid var(--ymp-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: block;
}

.ymp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(180, 43, 227, 0.18);
  border-color: var(--ymp-prime-mid);
  color: inherit;
}

.ymp-post-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ymp-bg-soft);
}

.ymp-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ymp-post-card-body {
  padding: 20px;
}

.ymp-post-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ymp-cta);
  margin-bottom: 8px;
}

.ymp-post-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
  color: var(--ymp-text);
}

.ymp-post-card-date {
  font-size: 12px;
  color: var(--ymp-text-muted);
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .ymp-post-header { padding: 32px 0 28px; }
  .ymp-post-meta { flex-direction: column; align-items: flex-start; }
  .ymp-post-share-end { padding: 24px 16px; }
  .ymp-blog-hero { padding: 60px 0 32px; }
  .ymp-blog-grid-section { padding-bottom: 60px; }
  .ymp-blog-newsletter { padding: 60px 0; }
  .ymp-blog-newsletter-card { padding: 40px 24px; }
  .ymp-post-cta-card { padding: 36px 24px; }
  .ymp-share-btn-lg span { display: none; }
  .ymp-share-btn-lg { width: 44px; height: 44px; padding: 0; }
}


/* ============================================
   HEADER LOGO - 60px de altura
   Aplica al logo dentro del header global de Elementor
   ============================================ */

.elementor-location-header .elementor-widget-image img,
.elementor-location-header .elementor-widget-theme-site-logo img {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 768px) {
  .elementor-location-header .elementor-widget-image img,
  .elementor-location-header .elementor-widget-theme-site-logo img {
    height: 48px !important;
  }
}


/* ============================================
   NAV PARA BLOG Y POSTS - dentro de .ymp-blog y .ymp-post
   ============================================ */

.ymp-blog .ymp-nav,
.ymp-post .ymp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ymp-line);
  padding: 0;
  margin-bottom: 0;
}

.ymp-blog .ymp-nav-inner,
.ymp-post .ymp-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1199px) {
  .ymp-blog .ymp-nav-inner,
  .ymp-post .ymp-nav-inner {
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .ymp-blog .ymp-nav-inner,
  .ymp-post .ymp-nav-inner {
    padding: 14px 20px;
  }
}

.ymp-blog .ymp-nav-logo,
.ymp-post .ymp-nav-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.ymp-blog .ymp-nav-logo:hover,
.ymp-post .ymp-nav-logo:hover {
  opacity: 0.85;
}

.ymp-blog .ymp-nav-logo img,
.ymp-post .ymp-nav-logo img {
  display: block;
  height: 60px;
  width: auto;
}

.ymp-blog .ymp-nav-links,
.ymp-post .ymp-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ymp-blog .ymp-nav-links li,
.ymp-post .ymp-nav-links li {
  list-style: none;
}

.ymp-blog .ymp-nav-links a,
.ymp-post .ymp-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ymp-text-soft);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}

.ymp-blog .ymp-nav-links a:hover,
.ymp-blog .ymp-nav-links a.active,
.ymp-post .ymp-nav-links a:hover {
  color: var(--ymp-cta);
}

.ymp-blog .ymp-nav-cta,
.ymp-post .ymp-nav-cta {
  background: var(--ymp-cta);
  color: white;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 14px -2px rgba(180, 43, 227, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.ymp-blog .ymp-nav-cta:hover,
.ymp-post .ymp-nav-cta:hover {
  background: var(--ymp-cta-deep);
  transform: translateY(-1px);
  color: white;
  box-shadow: 0 8px 20px -4px rgba(180, 43, 227, 0.5);
}

.ymp-blog .ymp-nav-toggle,
.ymp-post .ymp-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.ymp-blog .ymp-nav-toggle span,
.ymp-post .ymp-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ymp-text);
  border-radius: 2px;
  transition: all 0.25s;
}

.ymp-blog .ymp-nav.open .ymp-nav-toggle span:nth-child(1),
.ymp-post .ymp-nav.open .ymp-nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ymp-blog .ymp-nav.open .ymp-nav-toggle span:nth-child(2),
.ymp-post .ymp-nav.open .ymp-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.ymp-blog .ymp-nav.open .ymp-nav-toggle span:nth-child(3),
.ymp-post .ymp-nav.open .ymp-nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.ymp-blog .ymp-nav-mobile,
.ymp-post .ymp-nav-mobile {
  display: none;
  background: white;
  border-top: 1px solid var(--ymp-line);
  padding: 16px 20px;
}

.ymp-blog .ymp-nav.open .ymp-nav-mobile,
.ymp-post .ymp-nav.open .ymp-nav-mobile {
  display: block;
}

.ymp-blog .ymp-nav-mobile ul,
.ymp-post .ymp-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ymp-blog .ymp-nav-mobile a,
.ymp-post .ymp-nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ymp-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}

.ymp-blog .ymp-nav-mobile a:hover,
.ymp-post .ymp-nav-mobile a:hover {
  background: var(--ymp-prime-soft);
  color: var(--ymp-cta);
}

.ymp-blog .ymp-nav-mobile-cta,
.ymp-post .ymp-nav-mobile-cta {
  background: var(--ymp-cta) !important;
  color: white !important;
  text-align: center;
  margin-top: 8px;
}

.ymp-blog .ymp-nav-mobile-cta:hover,
.ymp-post .ymp-nav-mobile-cta:hover {
  background: var(--ymp-cta-deep) !important;
  color: white !important;
}

@media (max-width: 900px) {
  .ymp-blog .ymp-nav-links,
  .ymp-blog .ymp-nav-cta,
  .ymp-post .ymp-nav-links,
  .ymp-post .ymp-nav-cta {
    display: none;
  }
  .ymp-blog .ymp-nav-toggle,
  .ymp-post .ymp-nav-toggle {
    display: flex;
  }
  .ymp-blog .ymp-nav-logo img,
  .ymp-post .ymp-nav-logo img {
    height: 48px;
  }
}


/* ============================================
   NORMALIZAR CONTENIDO RESIDUAL DE ELEMENTOR
   Posts viejos migrados que conservan HTML/clases de Elementor
   Esto fuerza tamaños y estilos sanos sin importar qué HTML residual quedó
   ============================================ */

/* Reset universal de elementos dentro del body del post */
.ymp-post-body * {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Eliminar contenedores con ancho fijo grande de Elementor */
.ymp-post-body [class*="elementor-"],
.ymp-post-body [data-elementor-type],
.ymp-post-body [data-element_type],
.ymp-post-body [data-widget_type] {
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: static !important;
  transform: none !important;
}

/* Forzar tamaños sanos en HEADINGS sin importar font-size inline */
.ymp-post-body h1,
.ymp-post-body h1 *,
.ymp-post-body [class*="elementor-heading"] h1,
.ymp-post-body [class*="elementor-heading"][class*="size-xxl"],
.ymp-post-body [class*="elementor-heading"][class*="size-xl"] {
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: var(--ymp-text) !important;
  margin: 32px 0 16px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

.ymp-post-body h2,
.ymp-post-body h2 *,
.ymp-post-body [class*="elementor-heading-title"]:not(h1):not(h3):not(h4):not(h5):not(h6) {
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--ymp-text) !important;
  margin: 32px 0 14px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

.ymp-post-body h3,
.ymp-post-body h3 * {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  color: var(--ymp-text) !important;
  margin: 24px 0 12px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

.ymp-post-body h4,
.ymp-post-body h4 * {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--ymp-text) !important;
  margin: 20px 0 10px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Párrafos y texto general */
.ymp-post-body p,
.ymp-post-body p *,
.ymp-post-body div,
.ymp-post-body span:not([class*="elementor-icon"]) {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: var(--ymp-text) !important;
  font-family: 'DM Sans', sans-serif !important;
}

.ymp-post-body p {
  margin: 0 0 20px 0 !important;
  font-weight: 400 !important;
}

/* Strong / bold dentro de párrafos */
.ymp-post-body p strong,
.ymp-post-body p b,
.ymp-post-body strong,
.ymp-post-body b {
  font-weight: 700 !important;
  color: var(--ymp-text) !important;
  font-size: inherit !important;
}

/* Imágenes residuales de Elementor */
.ymp-post-body img,
.ymp-post-body figure img,
.ymp-post-body [class*="elementor-image"] img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  border-radius: 12px !important;
  margin: 24px auto !important;
  display: block !important;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.1) !important;
}

/* Eliminar overlays de imágenes de Elementor */
.ymp-post-body [class*="elementor-image-overlay"],
.ymp-post-body [class*="elementor-icon-list-icon"] {
  display: none !important;
}

/* Listas */
.ymp-post-body ul,
.ymp-post-body ol,
.ymp-post-body [class*="elementor-icon-list"] {
  margin: 0 0 20px 0 !important;
  padding-left: 24px !important;
  list-style-position: outside !important;
}

.ymp-post-body ul {
  list-style: disc !important;
}

.ymp-post-body ol {
  list-style: decimal !important;
}

.ymp-post-body li,
.ymp-post-body [class*="elementor-icon-list-item"] {
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin-bottom: 8px !important;
  color: var(--ymp-text) !important;
  display: list-item !important;
  font-family: 'DM Sans', sans-serif !important;
  background: transparent !important;
  padding: 0 !important;
}

.ymp-post-body [class*="elementor-icon-list-text"] {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--ymp-text) !important;
}

/* Links */
.ymp-post-body a {
  color: var(--ymp-cta) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
}

.ymp-post-body a:hover {
  color: var(--ymp-cta-deep) !important;
}

/* Botones residuales de Elementor */
.ymp-post-body [class*="elementor-button"] {
  display: inline-block !important;
  background: var(--ymp-cta) !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  margin: 12px 0 !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
}

.ymp-post-body [class*="elementor-button"]:hover {
  background: var(--ymp-cta-deep) !important;
  color: white !important;
}

/* Espaciadores y divisores de Elementor: ocultar */
.ymp-post-body [class*="elementor-spacer"],
.ymp-post-body [class*="elementor-divider"] {
  display: none !important;
}

/* Columnas de Elementor: forzar stack vertical */
.ymp-post-body [class*="elementor-column"],
.ymp-post-body [class*="elementor-col-"] {
  width: 100% !important;
  flex-basis: 100% !important;
  flex: 1 1 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
}

/* Sections de Elementor */
.ymp-post-body [class*="elementor-section"],
.ymp-post-body [class*="elementor-container"],
.ymp-post-body [class*="elementor-row"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  background: transparent !important;
}

/* Backgrounds inline de Elementor */
.ymp-post-body [style*="background-image"] {
  background-image: none !important;
}

/* Quitar font-size inline */
.ymp-post-body [style*="font-size"] {
  font-size: inherit !important;
}

/* Quitar text-align center forzado en headings */
.ymp-post-body h1[style*="text-align"],
.ymp-post-body h2[style*="text-align"],
.ymp-post-body h3[style*="text-align"] {
  text-align: left !important;
}

/* Videos / embeds */
.ymp-post-body iframe,
.ymp-post-body video {
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 12px !important;
  margin: 20px 0 !important;
}

/* Blockquote */
.ymp-post-body blockquote {
  margin: 24px 0 !important;
  padding: 20px 24px !important;
  background: var(--ymp-prime-soft) !important;
  border-left: 4px solid var(--ymp-cta) !important;
  border-radius: 0 12px 12px 0 !important;
  font-style: italic !important;
  font-size: 18px !important;
}

/* Mobile: tamaños un poco más pequeños */
@media (max-width: 768px) {
  .ymp-post-body h1, .ymp-post-body h1 * { font-size: 26px !important; }
  .ymp-post-body h2, .ymp-post-body h2 * { font-size: 24px !important; }
  .ymp-post-body h3, .ymp-post-body h3 * { font-size: 20px !important; }
  .ymp-post-body h4, .ymp-post-body h4 * { font-size: 17px !important; }
  .ymp-post-body p, .ymp-post-body li { font-size: 16px !important; }
}


/* ============================================
   FIX ADICIONAL POSTS VIEJOS ELEMENTOR
   Apuntando a casos específicos vistos en posts migrados
   ============================================ */

/* IMÁGENES por defecto: 500px (screenshots inline) */
.ymp-post-body img,
.ymp-post-body figure img,
.ymp-post-body picture img {
  max-width: 500px !important;
  width: auto !important;
  height: auto !important;
  margin: 24px auto !important;
  display: block !important;
  border-radius: 12px !important;
}

/* Escape para imágenes hero / composites que necesitan ancho completo.
   Usar: <figure class="ymp-post-hero-img"><img ... /></figure>
   o agregar style="max-width:100% !important;" inline al figure y al img. */
.ymp-post-body figure.ymp-post-hero-img,
.ymp-post-body figure.ymp-post-hero-img img {
  max-width: 100% !important;
  width: 100% !important;
}

.ymp-post-body figure.ymp-post-hero-img img {
  border-radius: 16px !important;
  margin: 0 !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.1) !important;
}

/* Screenshots verticales (de mockup de phone) más pequeños */
.ymp-post-body img[src*="screen"],
.ymp-post-body img[src*="pantalla"],
.ymp-post-body img[src*="iPhone"],
.ymp-post-body img[src*="phone"] {
  max-width: 320px !important;
}

/* Listas numeradas que se ven gigantes en Elementor */
.ymp-post-body ol li,
.ymp-post-body ul li {
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin-bottom: 10px !important;
  padding-left: 4px !important;
}

/* Numeros grandes residuales de elementor */
.ymp-post-body [class*="elementor-counter"],
.ymp-post-body [class*="elementor-number"] {
  font-size: inherit !important;
  font-weight: 700 !important;
  color: var(--ymp-cta) !important;
}

/* Headings de pasos "1- Paso 1" "2- Paso 2" */
.ymp-post-body h1[id*="paso"],
.ymp-post-body h2[id*="paso"],
.ymp-post-body h3[id*="paso"] {
  font-size: 22px !important;
  color: var(--ymp-cta) !important;
}

/* Eliminar wrappers que crean espacios verticales gigantes */
.ymp-post-body > div:empty,
.ymp-post-body section:empty,
.ymp-post-body [class*="elementor"]:empty {
  display: none !important;
}

/* Contenedores de Elementor con padding gigante */
.ymp-post-body [class*="elementor-section"],
.ymp-post-body [class*="elementor-container"],
.ymp-post-body [class*="elementor-widget-wrap"] {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* Wrappers de columnas */
.ymp-post-body [class*="elementor-column-wrap"],
.ymp-post-body [class*="elementor-widget-container"] {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Botones/CTAs que parecen rotos */
.ymp-post-body [class*="elementor-button-wrapper"] {
  text-align: center !important;
  margin: 16px 0 !important;
}

/* Headings que se ven enormes */
.ymp-post-body h1,
.ymp-post-body h1 span {
  font-size: 28px !important;
  line-height: 1.2 !important;
}

.ymp-post-body h2,
.ymp-post-body h2 span {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

/* Sub-elementos dentro de headings (Elementor mete spans con tamaños) */
.ymp-post-body h1 *,
.ymp-post-body h2 *,
.ymp-post-body h3 * {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Tablas residuales */
.ymp-post-body table {
  width: 100% !important;
  margin: 20px 0 !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
}

.ymp-post-body table td,
.ymp-post-body table th {
  padding: 10px 12px !important;
  border: 1px solid var(--ymp-line) !important;
  font-size: 15px !important;
}

.ymp-post-body table th {
  background: var(--ymp-prime-soft) !important;
  font-weight: 700 !important;
  color: var(--ymp-text) !important;
}

/* REGLA ELIMINADA (v3.5.1) — la regla
     .ymp-post-content .ymp-post-container-narrow { max-width: 720px !important; }
   contradecía el ancho del post. El ancho ahora se controla en
   .ymp-post .ymp-post-container-narrow (1100px) más abajo. */

.ymp-post-body {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Asegurar que no haya overflow horizontal */
.ymp-post-body,
.ymp-post-body > * {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}


/* ============================================
   FIX ELEMENTOR V3+ MODERNO (e-con, data-e-type)
   Para posts viejos que usan el HTML nuevo de Elementor
   ============================================ */

/* Reset todos los wrappers de Elementor v3+ */
.ymp-post-body [data-e-type="container"],
.ymp-post-body [data-e-type="widget"],
.ymp-post-body .e-con,
.ymp-post-body .e-con-inner,
.ymp-post-body .e-flex,
.ymp-post-body [class*="e-con-"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  position: static !important;
  flex: initial !important;
  grid-template-columns: none !important;
}

/* Eliminar párrafos vacíos que Elementor mete por todos lados */
.ymp-post-body p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* H4 con b anidados (caso común en posts viejos) */
.ymp-post-body h4 b,
.ymp-post-body h4 strong {
  font-weight: 800 !important;
  font-size: inherit !important;
  color: inherit !important;
}

.ymp-post-body h4 {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--ymp-text) !important;
  margin: 24px 0 12px 0 !important;
  text-align: left !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Forzar text-align left a headings que tengan style inline */
.ymp-post-body h1[style*="text-align"],
.ymp-post-body h2[style*="text-align"],
.ymp-post-body h3[style*="text-align"],
.ymp-post-body h4[style*="text-align"],
.ymp-post-body h5[style*="text-align"],
.ymp-post-body h6[style*="text-align"] {
  text-align: left !important;
}

/* Strong / b sueltos */
.ymp-post-body strong,
.ymp-post-body b {
  font-weight: 700 !important;
  color: var(--ymp-text) !important;
  font-size: inherit !important;
}

/* Eliminar márgenes excesivos entre elementos */
.ymp-post-body > div,
.ymp-post-body > div > div {
  margin-bottom: 0 !important;
}

/* Hacer que el body tenga espaciado vertical normal */
.ymp-post-body > * + * {
  margin-top: 16px !important;
}


/* ============================================
   RADIO GROUP - MARCA OFICIAL SÍ/NO
   ============================================ */

.ymp-form .radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ymp-form .radio-pill {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 12px 24px;
  background: var(--ymp-bg-soft);
  border: 1.5px solid var(--ymp-line);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ymp-text-soft);
  transition: all 0.2s;
  user-select: none;
}

.ymp-form .radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ymp-form .radio-pill:hover {
  border-color: var(--ymp-cta);
  color: var(--ymp-cta);
}

.ymp-form .radio-pill:has(input[type="radio"]:checked) {
  background: var(--ymp-cta);
  color: white;
  border-color: var(--ymp-cta);
  box-shadow: 0 4px 12px -2px rgba(180, 43, 227, 0.35);
}

/* Fallback para navegadores sin :has() */
.ymp-form .radio-pill input[type="radio"]:checked + span {
  /* Solo aplica si el span va después del input (no es nuestro caso) */
}

/* Bloque condicional con animación */
.ymp-form .conditional-block {
  animation: ymp-fade-in 0.3s ease-out;
}

@keyframes ymp-fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================
   FIX ANCHO DEL POST BODY - ancho amplio alineado con home (v3.5.1)
   ============================================ */
.ymp-post .ymp-post-container-narrow {
  max-width: 1100px !important;
}

@media (max-width: 1199px) {
  .ymp-post .ymp-post-container-narrow {
    max-width: 100% !important;
    padding: 0 32px !important;
  }
}

@media (max-width: 768px) {
  .ymp-post .ymp-post-container-narrow {
    padding: 0 20px !important;
  }
}