.hero-tablet-stage {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: #050609 url('../images/hero-board-v36.webp') center / cover no-repeat;
    transition: opacity .5s ease;
}
.hero-tablet-stage.is-ready {opacity: 1;}
.hero-tablet-canvas {display: block; width: 100%; height: 100%;}
.hero-tablet-control {
    position: absolute;
    bottom: 28px;
    left: 28px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #6a6b74;
    border-radius: 50%;
    color: #fff;
    background: #101116cf;
    transition: background-color .35s ease, border-color .35s ease;
}
.hero-tablet-control:hover {background: #262831ed; border-color: #c5c8d1;}
.hero-tablet-control:focus-visible {outline: 2px solid #fff; outline-offset: 4px;}
.hero-tablet-control[hidden] {display: none;}
.home-floating-controls {
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: calc(90px + env(safe-area-inset-bottom));
    z-index: 1035;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}
.home-floating-controls a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 20px #0005;
    pointer-events: auto;
    transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease, color .4s ease;
}
.home-floating-controls .home-top {
    position: relative;
    right: auto;
    bottom: auto;
    width: 44px;
    height: 44px;
    background: #13171ded;
    color: #e0e5eb;
    border: 1px solid #555e69;
    transform: none;
}
.home-floating-controls .home-top i {font-size: 20px;}
.home-floating-controls .home-whatsapp {
    width: 56px;
    height: 56px;
    border: 1px solid #36c58b;
    background: #0b1d17f2;
    color: #4ce6a4;
}
.home-floating-controls .home-whatsapp i {font-size: 28px; line-height: 1;}
.home-floating-controls .home-top:hover {background: #2b323d; border-color: #b4bfce; transform: none;}
.home-floating-controls .home-whatsapp:hover {background: #12382a; border-color: #75f0b9; color: #a0ffd1; box-shadow: 0 6px 24px #0b342d8c;}
.home-floating-controls a:focus-visible {outline: 2px solid #fff; outline-offset: 4px;}
.home-floating-controls a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    padding: 7px 11px;
    border: 1px solid #46545e;
    border-radius: 6px;
    background: #10171ef5;
    color: #f5f8fa;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    pointer-events: none;
}
.home-floating-controls a:is(:hover, :focus-visible)::after {opacity: 1; visibility: visible;}
.home-floating-controls [hidden] {display: none !important;}
.home-floating-controls[hidden] {display: none;}
@media (max-width: 768px) {
    .hero-tablet-control {left: 16px; top: 96px; bottom: auto;}
    .hero-tablet-stage {background-position: 72% center;}
    .home-floating-controls {right: max(16px, env(safe-area-inset-right)); bottom: calc(90px + env(safe-area-inset-bottom)); gap: 10px;}
    .home-floating-controls .home-whatsapp {width: 52px; height: 52px;}
    .home-floating-controls .home-whatsapp i {font-size: 26px;}
}
@media (prefers-reduced-motion: reduce) {
    .hero-tablet-stage, .hero-tablet-control, .home-floating-controls a, .home-floating-controls a::after {transition: none;}
    .hero-tablet-stage, .hero-tablet-control {display: none;}
}
@media (max-width: 768px) and (max-height: 640px) {
    .home-floating-controls {top: max(96px, env(safe-area-inset-top)); bottom: auto;}
}
