/* Local mobile visual pass for the homepage. */
@media (max-width: 760px) {
  html,
  body.home-page {
    overflow-x: hidden !important;
  }

  html body.home-page {
    padding-bottom: 42px !important;
    background: #f7f7f2 !important;
  }

  html body.home-page .hero {
    min-height: 100svh !important;
    height: 100svh !important;
    padding: 70px 16px 34px !important;
    display: block !important;
    overflow: hidden !important;
  }

  html body.home-page .hero::after,
  html body.home-page .hero-video,
  html body.home-page .hero-video.is-active,
  html body.home-page .hero-video.hero-video-next {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 48% !important;
    transform: scale(1.08) !important;
    transform-origin: center center !important;
  }

  html body.home-page .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 34%, rgba(0, 0, 0, 0.76) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.16) 78%) !important;
  }

  html body.home-page .hero-grid {
    position: static !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - 104px) !important;
    height: calc(100svh - 104px) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  html body.home-page .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: min(292px, calc(100vw - 32px)) !important;
    max-width: min(292px, calc(100vw - 32px)) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home-page .hero-copy h1,
  html body.home-page .hero-copy h1 span {
    max-width: 292px !important;
    margin: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 34px !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
    font-weight: 720 !important;
    text-wrap: balance !important;
  }

  html[lang="en"] body.home-page .hero-copy h1,
  html[lang="en"] body.home-page .hero-copy h1 span {
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  html body.home-page .hero-copy > p:not(.eyebrow) {
    max-width: 286px !important;
    margin: 16px 0 0 !important;
    color: rgba(255, 255, 255, 0.86) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.86) !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
    letter-spacing: 0 !important;
  }

  html body.home-page .hero-actions {
    width: min(292px, calc(100vw - 32px)) !important;
    margin: 20px 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  html body.home-page .hero-actions .button {
    min-height: 42px !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  html body.home-page .home-system-screen {
    min-height: auto !important;
    padding: 52px 16px 58px !important;
    background: #f5f5f0 !important;
    overflow: hidden !important;
  }

  html body.home-page .home-system-shell {
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  html body.home-page .home-system-copy,
  html body.home-page .home-system-visual,
  html body.home-page .home-system-models {
    grid-column: 1 !important;
  }

  html body.home-page .home-system-copy {
    grid-row: 1 !important;
    max-width: none !important;
    padding: 0 2px !important;
  }

  html body.home-page .home-system-copy .eyebrow {
    margin: 0 0 12px !important;
    color: rgba(17, 17, 17, 0.48) !important;
    -webkit-text-fill-color: rgba(17, 17, 17, 0.48) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.18em !important;
  }

  html body.home-page .home-system-copy h2 {
    max-width: 340px !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    font-size: 26px !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    font-weight: 720 !important;
    text-wrap: balance !important;
  }

  html[lang="en"] body.home-page .home-system-copy h2 {
    font-size: 25px !important;
    line-height: 1.18 !important;
  }

  html body.home-page .home-system-copy p:not(.eyebrow) {
    max-width: 340px !important;
    margin: 12px 0 0 !important;
    color: rgba(17, 17, 17, 0.64) !important;
    -webkit-text-fill-color: rgba(17, 17, 17, 0.64) !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
    letter-spacing: 0 !important;
  }

  html body.home-page .home-system-link {
    min-height: 40px !important;
    margin-top: 18px !important;
    padding: 0 15px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html body.home-page .home-system-visual {
    grid-row: 2 !important;
    width: 100% !important;
    height: clamp(300px, 86vw, 360px) !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    border-radius: 22px !important;
    background: #050505 !important;
    box-shadow: 0 20px 48px rgba(17, 17, 17, 0.12) !important;
    overflow: hidden !important;
  }

  html body.home-page .home-system-visual img {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    transform: none !important;
  }

  html body.home-page .home-system-models {
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 2px !important;
  }

  html body.home-page .home-system-models article {
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(17, 17, 17, 0.09) !important;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.055) !important;
  }

  html body.home-page .home-system-models article > span {
    margin-bottom: 10px !important;
    color: rgba(17, 17, 17, 0.52) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
  }

  html body.home-page .home-system-models h3 {
    margin: 0 0 8px !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
  }

  html body.home-page .home-system-models p {
    color: rgba(17, 17, 17, 0.62) !important;
    -webkit-text-fill-color: rgba(17, 17, 17, 0.62) !important;
    font-size: 14px !important;
    line-height: 1.52 !important;
    letter-spacing: 0 !important;
  }

  html body.home-page .home-system-models ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 14px 0 0 !important;
  }

  html body.home-page .home-system-models li {
    padding: 6px 9px !important;
    color: rgba(17, 17, 17, 0.66) !important;
    -webkit-text-fill-color: rgba(17, 17, 17, 0.66) !important;
    background: #f4f4f0 !important;
    border: 1px solid rgba(17, 17, 17, 0.07) !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  html body.home-page .home-system-models li::before,
  html body.home-page .home-system-flow {
    display: none !important;
  }

  html body.home-page main > .section:not(.hero):not(.home-system-screen),
  html body.home-page .section:not(.hero):not(.home-system-screen) {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  html body.home-page .split-head {
    gap: 14px !important;
    margin-bottom: 24px !important;
  }

  html body.home-page .split-head h2,
  html body.home-page .section h2 {
    font-size: 26px !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    text-wrap: balance !important;
  }

  html body.home-page .whatsapp-float,
  html body.home-page .yao-chat {
    top: 50dvh !important;
    right: -10px !important;
    bottom: auto !important;
    left: auto !important;
  }

  html body.home-page .whatsapp-float {
    transform: translateY(-50px) !important;
  }

  html body.home-page .whatsapp-float:hover,
  html body.home-page .whatsapp-float:focus,
  html body.home-page .whatsapp-float:active {
    transform: translateY(-50px) !important;
  }

  html body.home-page .yao-chat {
    transform: translateY(0) !important;
  }

  html body.home-page .yao-chat-toggle:hover,
  html body.home-page .yao-chat-toggle:focus,
  html body.home-page .yao-chat-toggle:active {
    transform: none !important;
  }

  html body.home-page .whatsapp-float,
  html body.home-page .yao-chat-toggle {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px !important;
  }

  html body.home-page .yao-chat-toggle {
    transform: none !important;
  }

  html body.home-page .whatsapp-float strong,
  html body.home-page .yao-chat-toggle strong {
    display: none !important;
  }

  html body.home-page .whatsapp-float-icon {
    width: 23px !important;
    height: 23px !important;
  }

  html body.home-page .yao-chat-toggle span {
    width: 21px !important;
    height: 21px !important;
  }

  html body.home-page .yao-chat-panel {
    right: 0 !important;
    top: 52px !important;
    bottom: auto !important;
    width: min(328px, calc(100vw - 24px)) !important;
    max-height: min(560px, calc(100dvh - 96px)) !important;
  }
}

@media (max-width: 360px) {
  html body.home-page .hero-copy,
  html body.home-page .hero-actions {
    width: min(278px, calc(100vw - 32px)) !important;
    max-width: min(278px, calc(100vw - 32px)) !important;
  }

  html body.home-page .hero-copy h1,
  html body.home-page .hero-copy h1 span {
    font-size: 32px !important;
  }

  html[lang="en"] body.home-page .hero-copy h1,
  html[lang="en"] body.home-page .hero-copy h1 span {
    font-size: 29px !important;
  }
}
