/* Estilos de la home principal con vídeo. */
.hero-video-poster,
.hero-video-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.main-header .logo a {
    padding: 14px 28px;
    background: rgba(245, 239, 229, .72);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .16);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hero-video .hero-copy { transform: translateY(80px); }

.hero-video-toggle {
    position: absolute;
    right: 22px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    color: #fff;
    background: rgba(48,46,44,.85);
    cursor: pointer;
}

.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.hero-video-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 768px) {
    .main-header .container { max-width: none; }
    .main-header .logo a { padding: 12px 20px; }
    .hero-video { height: auto; min-height: 500px; padding-top: 205px; padding-bottom: 64px; }
    .hero-video .hero-copy { transform: none; }
    .hero-video-toggle { right: 16px; bottom: 12px; }
}
