/* Portada compacta para celular. Las reglas se limitan a esta página. */
#root .dsmg-hero-video-play {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(248,248,248,0.8);
  border-radius: 4px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}
#root .dsmg-hero-video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 720px) {
  #root > .dsmg-site-header > div {
    height: 80px !important;
    padding-inline: 16px !important;
    gap: 8px !important;
  }

  #root .dsmg-site-header .dsmg-brand-lockup { width: 154px; gap: 7px; }
  #root .dsmg-site-header .dsmg-brand-mark { width: 43px; }
  #root .dsmg-site-header .dsmg-brand-copy strong { font-size: 14px; }
  #root .dsmg-site-header .dsmg-brand-copy > span { font-size: 5.8px; }
  #root .dsmg-site-header .dsmg-brand-copy small { font-size: 5.8px; }
  #root .dsmg-headcta { gap: 8px !important; }
  #root .dsmg-headcta > a.dsmg-btn {
    display: inline-flex !important;
    min-width: 74px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
  #root .dsmg-headcta > a.dsmg-btn span { font-size: inherit; }
  #root .dsmg-menu-btn { width: 44px; height: 44px; }
  #root .dsmg-nav.is-open { top: 80px !important; max-height: calc(100dvh - 96px); overflow-y: auto; }

  #root .dsmg-hero,
  #root .dsmg-hero-inner { min-height: 0 !important; }
  /* El video conserva el encuadre de los pernos, sin ampliación adicional. */
  #root .dsmg-hero-video {
    display: block;
    object-position: 60% center !important;
    transform: none;
  }
  #root .dsmg-hero-vignette { display: none; }
  #root .dsmg-hero-inner { padding: 106px 18px 34px !important; }
  #root .dsmg-hero.has-video-play .dsmg-hero-inner { padding-bottom: 92px !important; }
  #root .dsmg-hero-content { width: 100%; padding-top: 0; }
  #root .dsmg-hero-title {
    font-size: clamp(1.45rem, 6.2vw, 2.55rem) !important;
    line-height: 1.06 !important;
  }
  #root .dsmg-hero-copy {
    margin-top: 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  #root .dsmg-hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 8px !important;
    margin-top: 18px;
  }
  #root .dsmg-hero-actions .dsmg-btn {
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 8px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    text-align: center;
    white-space: normal;
  }
  #root .dsmg-hero-actions .dsmg-btn--on-dark { color: #fff !important; }
  #root .dsmg-hero-benefits {
    margin-top: 18px;
    gap: 6px 8px !important;
    font-size: 9px;
    letter-spacing: 0.025em;
  }
  #root .dsmg-hero-shade {
    background: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.32) 55%, rgba(0,0,0,0.12)) !important;
  }
  #root .dsmg-hero-title,
  #root .dsmg-hero-copy,
  #root .dsmg-hero-benefits { text-shadow: 0 1px 4px rgba(0,0,0,0.75); }

  #root .dsmg-products-showcase { margin-top: 22px; }
  #root .dsmg-capabilities-shell { top: -22px; margin-bottom: 0; padding-inline: 16px; }
  #root .dsmg-capabilities-grid,
  #root .dsmg-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #root .dsmg-capability { min-height: 0; padding: 16px 12px; }
  #root .dsmg-capability + .dsmg-capability { border: 0; }
  #root .dsmg-capability:nth-child(even) { border-left: 1px solid var(--border-soft); }
  #root .dsmg-capability:nth-child(n + 3) { border-top: 1px solid var(--border-soft); }
  #root .dsmg-capability__number { width: 30px; height: 30px; margin-bottom: 12px; font-size: 11px; }
  #root .dsmg-capability h3 { margin-bottom: 6px; font-size: 14px; line-height: 1.2; }
  #root .dsmg-capability p { max-width: none; font-size: 13px; line-height: 1.45; }
  #root .dsmg-capability__arrow { display: none; }
  #root .dsmg-products-heading { padding-top: 0; margin-bottom: 24px; }
  #root .dsmg-products-heading h2 { font-size: clamp(1.65rem, 6.4vw, 2.25rem); margin-bottom: 14px; }
  #root .dsmg-products-heading p { font-size: 14px; line-height: 1.5; }
  #root .dsmg-featured-grid { gap: 12px; }
  #root .dsmg-featured-card__body { min-height: 0; padding: 14px 12px; }
  #root .dsmg-featured-card__body h3 { font-size: 14px; line-height: 1.2; }
  #root .dsmg-featured-card__body p { margin-bottom: 16px; font-size: 13px; line-height: 1.45; }
  #root .dsmg-featured-card__link { font-size: 13px; }
}

@media (max-width: 350px) {
  #root .dsmg-site-header .dsmg-brand-lockup { width: 137px; gap: 5px; }
  #root .dsmg-site-header .dsmg-brand-mark { width: 38px; }
  #root .dsmg-site-header .dsmg-brand-copy strong { font-size: 12.5px; }
  #root .dsmg-site-header .dsmg-brand-copy > span,
  #root .dsmg-site-header .dsmg-brand-copy small { font-size: 5.2px; }
  #root .dsmg-headcta { gap: 5px !important; }
  #root .dsmg-headcta > a.dsmg-btn { min-width: 66px !important; padding-inline: 7px !important; }
}
