/* Ajustes de Yamaha CL5 sobre el diseño compartido de la escuela. */
.yamaha-page .hero .wrap > div:last-child {
  inset: 34px 34px 96px auto;
  width: min(46%, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e5e9e7;
}

.yamaha-page .hero .phone-mock {
  display: block;
  object-fit: contain;
  object-position: center;
}

.yamaha-page .hero-ctas,
.yamaha-page .badges,
.yamaha-page .price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yamaha-page .hero-ctas {
  align-items: center;
  margin-top: 28px;
}

.yamaha-page .pain-list,
.yamaha-page .author {
  display: grid;
}

.yamaha-page .pain {
  display: flex;
  gap: 10px;
}

.yamaha-page .pain > span {
  color: #a24743;
  font-weight: 900;
}

.yamaha-page .problem .badges,
.yamaha-page .pricing-badges {
  margin-top: 24px;
}

.yamaha-page .author .media {
  height: 560px;
  background: #171717;
}

.yamaha-page .author .media img {
  object-fit: contain;
  object-position: center;
}

.yamaha-page .list {
  padding-left: 0;
  list-style: none;
}

.yamaha-page .price-actions {
  margin-top: 20px;
}

.yamaha-page .burger {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.yamaha-page .mobile-drawer {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 49;
  padding: 0 20px 16px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.yamaha-page .mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.yamaha-page .mobile-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.yamaha-page .mobile-list a {
  padding: 12px;
}

.yamaha-page .sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  border-top: 1px solid var(--line);
}

.yamaha-page .sticky-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin: auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.yamaha-page .sticky-cta .title {
  font-size: 13px;
  font-weight: 800;
}

.yamaha-page .sticky-cta small {
  color: var(--muted);
}

@media (max-width: 850px) {
  .yamaha-page .hero .wrap > div:last-child {
    inset: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    opacity: .22;
  }

  .yamaha-page .hero .phone-mock {
    object-position: right center;
  }
}

@media (max-width: 640px) {
  .yamaha-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .yamaha-page .author .media {
    height: 450px;
  }

  .yamaha-page .hero-ctas {
    align-items: stretch;
    flex-direction: column;
  }

  .yamaha-page .pain-list {
    grid-template-columns: 1fr;
  }

  .yamaha-page .sticky-cta.visible {
    display: block;
  }

  .yamaha-page .wh-fab.shift-up {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}
