/* WMF / PKM PROJECT v218 — isolated mobile corrections (desktop is untouched). */
@media (max-width: 991px) {
  /* Trust dialog: one neutral frame, a conventional overline and stable card geometry. */
  .wmf-trust-dialog[open] {
    align-items: center !important;
    padding: 8px !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 18px 14px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #0d1013 0%, #07090b 100%) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58) !important;
    scrollbar-color: rgba(255, 255, 255, .24) transparent !important;
    scrollbar-width: thin !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-panel::-webkit-scrollbar {
    width: 4px !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-panel::-webkit-scrollbar-track {
    background: transparent !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-panel::-webkit-scrollbar-thumb {
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .24) !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head {
    clear: both !important;
    display: block !important;
    max-width: none !important;
    margin: 0 0 14px !important;
    padding: 0 2px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head::before,
  .wmf-trust-dialog .wmf-trust-dialog-head::after {
    display: none !important;
    content: none !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head > span {
    position: relative !important;
    display: inline-block !important;
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    color: #d3a276 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head > span::before {
    display: none !important;
    content: none !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head > span::after {
    position: absolute !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 82px !important;
    height: 2px !important;
    content: "" !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #d3a276 !important;
  }

  .wmf-trust-dialog .wmf-trust-dialog-head h3 {
    max-width: calc(100% - 4px) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(25px, 7vw, 32px) !important;
    font-weight: 760 !important;
    line-height: 1.07 !important;
    letter-spacing: -.03em !important;
    text-wrap: balance !important;
  }

  .wmf-trust-dialog .wmf-trust-why-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .wmf-trust-dialog .wmf-trust-why-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "number title"
      ". body" !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    align-items: start !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 15px 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-left-color: rgba(255, 255, 255, .12) !important;
    border-right-color: rgba(255, 255, 255, .12) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .042), rgba(255, 255, 255, .014)) !important;
    box-shadow: none !important;
  }

  .wmf-trust-dialog .wmf-trust-why-item::before,
  .wmf-trust-dialog .wmf-trust-why-item::after {
    display: none !important;
    content: none !important;
  }

  .wmf-trust-dialog .wmf-trust-why-icon {
    position: static !important;
    grid-area: number !important;
    place-self: start !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .wmf-trust-dialog .wmf-trust-why-item h4 {
    position: static !important;
    grid-area: title !important;
    align-self: center !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em !important;
    overflow-wrap: anywhere !important;
  }

  .wmf-trust-dialog .wmf-trust-why-item p {
    position: static !important;
    grid-area: body !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #b9bec3 !important;
    font-size: 12.5px !important;
    line-height: 1.46 !important;
    overflow-wrap: anywhere !important;
  }

  /* Real product renders in the mobile profitability recommendation. */
  #mobile-selector-roi .wmf-msr-model-image img {
    object-fit: contain !important;
    object-position: center !important;
    image-rendering: auto !important;
  }

  /* Gear icons requested for the first WMF benefit and the third guarantee. */
  #why-wmf .why-benefit-card:first-child .why-line-icon > svg,
  #guarantees .g24-guarantees-grid .g24-guarantee:nth-child(3) .g24-guarantee-icon > svg {
    display: none !important;
  }

  #why-wmf .why-benefit-card:first-child .why-line-icon::after,
  #guarantees .g24-guarantees-grid .g24-guarantee:nth-child(3) .g24-guarantee-icon::after {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    content: "" !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.43 12.98c.04-.32.07-.65.07-.98s-.03-.66-.08-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1a7.3 7.3 0 0 0-1.69-.98L14.5 2.42A.49.49 0 0 0 14 2h-4a.49.49 0 0 0-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.49.49 0 0 0-.61.22l-2 3.46a.49.49 0 0 0 .12.64l2.11 1.65c-.04.32-.08.66-.08.98s.03.66.08.98l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.04.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.58 1.69-.98l2.49 1c.23.08.49 0 .61-.22l2-3.46a.5.5 0 0 0-.12-.64l-2.11-1.65ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.43 12.98c.04-.32.07-.65.07-.98s-.03-.66-.08-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1a7.3 7.3 0 0 0-1.69-.98L14.5 2.42A.49.49 0 0 0 14 2h-4a.49.49 0 0 0-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.49.49 0 0 0-.61.22l-2 3.46a.49.49 0 0 0 .12.64l2.11 1.65c-.04.32-.08.66-.08.98s.03.66.08.98l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.04.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.58 1.69-.98l2.49 1c.23.08.49 0 .61-.22l2-3.46a.5.5 0 0 0-.12-.64l-2.11-1.65ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  /* Preserve the punctuation dots inside the warranty warning and info glyphs. */
  #guarantees .g24-conditions .g24-warning svg,
  #guarantees .g24-conditions .g24-small-note svg {
    overflow: visible !important;
  }

  #guarantees .g24-conditions .g24-warning svg path,
  #guarantees .g24-conditions .g24-small-note svg path {
    stroke-width: 2.2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* Telegram CTA: use the Telegram plane instead of the headset. */
  #guarantees .g24-cta-actions a[href^="tg:"] > svg {
    display: none !important;
  }

  #guarantees .g24-cta-actions a[href^="tg:"]::before {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    content: "" !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.4 3.6 3.1 10.7c-1.25.5-1.24 1.18-.23 1.5l4.69 1.47 1.8 5.5c.22.62.1.87.76.87.52 0 .75-.24 1.04-.52l2.25-2.18 4.68 3.46c.86.47 1.48.23 1.7-.8l3.02-14.25c.31-1.24-.47-1.8-1.41-1.42ZM8.29 13.34l10.86-6.85c.54-.32 1.03-.15.63.21l-8.96 8.1-.35 3.72-2.18-5.18Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.4 3.6 3.1 10.7c-1.25.5-1.24 1.18-.23 1.5l4.69 1.47 1.8 5.5c.22.62.1.87.76.87.52 0 .75-.24 1.04-.52l2.25-2.18 4.68 3.46c.86.47 1.48.23 1.7-.8l3.02-14.25c.31-1.24-.47-1.8-1.41-1.42ZM8.29 13.34l10.86-6.85c.54-.32 1.03-.15.63.21l-8.96 8.1-.35 3.72-2.18-5.18Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  /* The service section had both its original CTA and the mobile CTA injected by v168. */
  #service .svc-final-cta {
    display: none !important;
  }

  /* Keep long implementation stage names readable within their mobile cards. */
  #implementation .imp-stage-card strong {
    min-width: 0 !important;
    font-size: clamp(12px, 3.55vw, 14px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.015em !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }

  /* The compact mobile contact card already repeats these three details. */
  #contacts .contact-info-grid {
    display: none !important;
  }
}
