/**
 * Premium mobile hero — vehicle-forward, single screen (≤992px).
 */

.hero-m,
.hero-m-features {
  display: none;
}

@media (max-width: 992px) {
  .hero-desktop-only {
    display: none !important;
  }

  .hero-m {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    color: #fff;
    background-color: #050816;
    /* Shift image down + fade top sky — no file crop */
    background-image:
      linear-gradient(
        180deg,
        #050816 0%,
        #050816 8%,
        rgba(5, 8, 22, 0.92) 14%,
        rgba(5, 8, 22, 0.35) 26%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url('../assets/images/hero-mobile.png');
    background-size: cover;
    background-position: center 68%;
    background-repeat: no-repeat;
  }

  .hero-m__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding:
      calc(var(--header-h) + 8px)
      20px
      max(20px, env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }

  /* Compact trust pills */
  .hero-m__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
  }

  .hero-m__pill {
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
  }

  /* Headline */
  .hero-m__title {
    margin: 0;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  }

  .hero-m__title em {
    font-style: normal;
    color: #ff6b00;
  }

  .hero-m__sub {
    margin: 0;
    max-width: 280px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }

  /* CTAs — 56px */
  .hero-m__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .hero-m__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease;
  }

  .hero-m__btn:active {
    transform: scale(0.98);
  }

  .hero-m__btn--wa {
    color: #fff;
    background: #ff6b00;
    border: none;
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.4);
  }

  .hero-m__btn--call {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .hero-m__btn--call svg {
    stroke: #fff;
  }

  /* Features strip — below hero, not inside viewport */
  .hero-m-features {
    display: block;
    background: #0b132b;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-m-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .hero-m-features__grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-m-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 800;
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.12);
    border-radius: 8px;
  }

  /* Glass navbar — home + inner pages (contact, etc.) */
  body[data-page="home"] .site-header,
  body[data-page="contact"] .site-header {
    position: fixed;
    background: rgba(5, 8, 22, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  body[data-page="contact"] .site-header {
    background: rgba(11, 19, 43, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  body[data-page="home"] .header-inner .logo,
  body[data-page="contact"] .header-inner .logo {
    position: static;
    transform: none;
    pointer-events: auto;
    flex: 1;
    min-width: 0;
  }

  body[data-page="home"] .logo-img,
  body[data-page="contact"] .logo-img {
    display: block !important;
    width: 36px;
    height: 36px;
  }

  body[data-page="home"] .logo-brand,
  body[data-page="contact"] .logo-brand {
    display: block !important;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
  }

  body[data-page="home"] .logo-brand span,
  body[data-page="contact"] .logo-brand span {
    color: #ff6b00;
  }

  body[data-page="home"] .logo-tag,
  body[data-page="contact"] .logo-tag {
    display: none !important;
  }

  body[data-page="home"] .nav-toggle,
  body[data-page="contact"] .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body[data-page="home"] .nav-toggle span,
  body[data-page="contact"] .nav-toggle span {
    background: #fff;
    width: 18px;
    margin: 4px 0;
  }

  body[data-page="home"] .btn-header-wa-mobile,
  body[data-page="contact"] .btn-header-wa-mobile {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  body[data-page="home"] .site-header.scrolled,
  body[data-page="contact"] .site-header.scrolled {
    background: rgba(11, 19, 43, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  body[data-page="home"] .site-header.scrolled .logo-brand,
  body[data-page="contact"] .site-header.scrolled .logo-brand {
    color: #fff;
  }

  body[data-page="home"] .site-header.scrolled .nav-toggle span,
  body[data-page="contact"] .site-header.scrolled .nav-toggle span {
    background: #fff;
  }
}

@media (min-width: 993px) {
  .hero-m,
  .hero-m-features {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .hero-m__title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .hero-m__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-m__pill {
    font-size: 9px;
    padding: 4px 8px;
  }
}
