@media (max-width: 650px) {
  html {
    scroll-padding-top: 64px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-image {
    background-position: center 34%;
  }

  .hero-image::after {
    background: linear-gradient(0deg, #101010e8 0%, #101010a8 48%, #10101030 100%);
  }

  .hero-background-video {
    object-position: center 46%;
  }

  .hero-content {
    max-width: 620px;
    padding: 112px 0 64px;
  }

  .hero-content .eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-content p {
    max-width: 34ch;
    margin: 18px 0 25px;
    font-size: 15px;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .btn,
  .hero-actions .hotline {
    min-height: 48px;
  }

  .hero-actions .circle {
    width: 46px;
    height: 46px;
  }

  .float {
    display: none;
  }

  .mobilebar {
    display: block;
    position: fixed;
    z-index: 40;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px));
    left: auto;
    width: auto;
    padding: 0;
    overflow: visible;
    color: #fff;
    background: transparent;
    box-shadow: none;
  }

  .mobile-dock-trigger {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 9px;
    padding: 5px 16px 5px 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #111;
    background: #ffda33;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 5px rgba(255, 218, 51, 0.16);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  }

  .mobile-dock-trigger::-webkit-details-marker {
    display: none;
  }

  .mobile-dock-trigger::marker {
    content: "";
  }

  .mobile-dock-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    color: #111;
    background: #fff5b5;
  }

  .mobile-dock-icon .contact-phone-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .mobile-dock-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 11px);
    display: grid;
    width: min(224px, calc(100vw - 28px));
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
    gap: 8px;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(16, 16, 16, 0.91);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(9px) scale(0.98);
    transform-origin: bottom right;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobilebar[open] .mobile-dock-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .mobile-contact {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: transform 160ms ease, filter 160ms ease;
  }

  .mobile-contact .brand-svg,
  .mobile-contact .contact-phone-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .mobile-contact .contact-phone-icon {
    fill: currentColor;
  }

  .mobile-contact.phone-link {
    color: #111;
    background: #ffda33;
  }

  .mobile-contact.zalo-link {
    background: #0068ff;
  }

  .mobile-contact.whatsapp-link {
    background: #20c96a;
  }

  .mobile-contact.messenger-link {
    background: linear-gradient(110deg, #0866ff, #9146ff);
  }

  .mobilebar .mobile-book-cta {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 48px;
    flex: 0 0 auto;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #111;
    background: #ffda33;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(255, 218, 51, 0.2);
  }

  .mobilebar[open] .mobile-dock-trigger {
    background: #ffe77c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  }

  .mobile-dock-trigger:active,
  .mobile-contact:active,
  .mobilebar .mobile-book-cta:active {
    transform: scale(0.96);
  }
}

@media (hover: hover) and (max-width: 650px) {
  .mobile-dock-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(255, 218, 51, 0.18);
  }

  .mobile-contact:hover {
    filter: brightness(1.08);
    transform: translateX(-2px);
  }
}

@media (max-height: 620px) and (max-width: 650px) {
  .mobile-dock-panel {
    max-height: calc(100dvh - 76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-dock-trigger,
  .mobile-dock-panel,
  .mobile-contact {
    transition: none !important;
  }
}
