/* =========================================
   YR Konsultan – Mobile fixes
   ========================================= */

/* 1. Hide custom cursor on phones & tablets */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  html body .wa-cursor,
  html body .wa-cursor-text {
    display: none !important;
  }
}

@media (max-width: 767px) {

  /* 2. Hide building image */
  .as-hero-1-img {
    display: none !important;
  }

  /* 3. Hero spacing */
  .as-hero-1-wrap {
    padding-top: 80px !important;
  }

  /* 4. "Solusi Pajak Ahli": one line, centered */
  .as-hero-1-content .hero-title {
    white-space: nowrap !important;
    font-size: clamp(30px, 10vw, 44px) !important;
    line-height: 1.1 !important;
    margin: 0 0 14px !important;
    text-align: center !important;
    align-self: center !important;
  }
  .as-hero-1-content .hero-title br {
    display: none !important;
  }

  /* 5. Paragraph under the title: centered */
  .as-hero-1-content .hero-disc {
    line-height: 1.35 !important;
    margin: 0 0 20px !important;
    text-align: center !important;
    align-self: center !important;
  }

  /* 6. Order: Solusi Pajak Ahli → paragraph → consultation box → Terbukti */
  .as-hero-1-content {
    display: flex !important;
    flex-direction: column;
  }
  .as-hero-1-content-inner {
    display: contents !important;
  }
  .as-hero-1-content .hero-title { order: 1; }
  .as-hero-1-content .hero-disc  { order: 2; }
  .as-hero-1-content-box         { order: 3; }

  /* 7. "Terbukti": bottom, centered */
  .as-hero-1-content .guaranteed {
    order: 4;
    margin-top: 20px !important;
    align-self: center !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* 8. "Terbukti" shows instantly (no scroll animation) */
  .as-hero-1-content .guaranteed,
  .as-hero-1-content .guaranteed .split-line,
  .as-hero-1-content .guaranteed .word,
  .as-hero-1-content .guaranteed .char {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    clip-path: none !important;
    filter: none !important;
  }
}