.btn-wh {
    /* Estilos base del botón */
    background-color: #0BD82D; /* Color original de WhatsApp */
    text-decoration:none;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave */
}

.btn-wh:hover {
    background-color: #07C528; /* Color más oscuro de WhatsApp para el hover */
}
.btn-Pr {
    /* Estilos base del botón */
    background-color: #F9860D; /* Color original de WhatsApp */
    text-decoration:none;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave */
}

.btn-Pr:hover {
    background-color: #f57e1c; /* Color más oscuro de WhatsApp para el hover */
}
/* ===== ESTILOS BASE (PC Y TABLET GRANDE) ===== */
.astronauta-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* BURBUJA DE TEXTO "HABLEMOS" */
.texto-hablemos {
    background: #03ff60;
    color: rgb(0, 0, 0);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: aparecer 0.5s ease;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.texto-hablemos::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #00aa3e;
}

/* ICONO DEL ASTRONAUTA (ENLACE WHATSAPP) */
.astronauta-icono {
    width: 60px; /* Ajusta el tamaño según sea necesario */
    height: 60px;
    border-radius: 50%; /* Hace que la imagen sea circular */
    object-fit: cover; /* Asegura que la imagen se ajuste correctamente al contenedor */
    transition: transform 0.2s ease; /* Efecto de transición */
}

.astronauta-icono:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}


/* ANIMACIONES */
@keyframes flotar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== OCULTAR EN MÓVIL Y TABLET (HASTA 1024px) ===== */
@media screen and (max-width: 1024px) {
    .astronauta-whatsapp {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ===== VERSIÓN PARA ESCRITORIO GRANDE (OPCIONAL) ===== */
@media screen and (min-width: 1400px) {
    .astronauta-whatsapp {
        bottom: 60px;
        right: 60px;
    }
    
    .astronauta-link {
        width: 80px;
        height: 80px;
    }
    
    .astronauta-icono {
        width: 60px;
        height: 60px;
    }
    
    .texto-hablemos {
        font-size: 16px;
        padding: 10px 25px;
    }
}

/* Estilos base para móviles (primero móvil) */
.mi-clase {
    /* Layout y espaciado */
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    
    /* Tipografía responsive */
    font-size: 16px;
    line-height: 1.5;
    
    /* Colores y estilos visuales */
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    
    /* Sombras y efectos */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Transiciones suaves */
    transition: all 0.3s ease;
}

/* Tablets (pantallas medianas) */
@media screen and (min-width: 768px) {
    .mi-clase {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px;
        margin: 15px auto;
        max-width: 720px;
        font-size: 18px;
    }
}

/* Escritorio pequeño (pantallas grandes) */
@media screen and (min-width: 992px) {
    .mi-clase {
        padding: 25px;
        margin: 20px auto;
        max-width: 960px;
        font-size: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Escritorio grande (pantallas extra grandes) */
@media screen and (min-width: 1200px) {
    .mi-clase {
        max-width: 1140px;
        font-size: 22px;
    }
}

/* Para pantallas muy pequeñas (móviles pequeños) */
@media screen and (max-width: 480px) {
    .mi-clase {
        padding: 10px;
        margin: 5px 0;
        font-size: 14px;
        border-radius: 5px;
    }
}

/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .mi-clase {
        background-color: #333;
        border-color: #444;
        color: #fff;
        box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    }
}

/* Soporte para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .mi-clase {
        /* Mejoras para táctil */
        cursor: default;
        padding: 20px; /* Más espacio para tocar */
    }
}

/* Soporte para orientación */
@media screen and (orientation: landscape) and (max-width: 768px) {
    .mi-clase {
        flex-direction: row;
        padding: 15px;
    }
}
.pageview {
    position: relative;
}

.pageview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.pageview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 12%,
        rgba(0, 0, 0, 0) 88%,
        rgba(0, 0, 0, 0.9) 100%
    );
    backdrop-filter: blur(3px);
    mask: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.pageview > * {
    position: relative;
    z-index: 2;
}