/* Fuente global: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
	--font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

html, body {
	font-family: var(--font-sans);
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	color: #333;
	background: #fff;
	margin: 0;
}

/* Ensure headings use font weights that look good */
h1,h2,h3,h4,h5,h6{
	font-weight:600;
}

/* Utility: buttons, links inherit font */
a, button, input, textarea { font-family: var(--font-sans); }

.scroll-top-btn {
    position: fixed; /* Fijo en la pantalla */
    bottom: 30px; 
    left: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary, #1122b8);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(25, 5, 110, 0.15); /* Sombra suave */
    opacity: 0; /* Oculto inicialmente */
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000; /* Asegura que esté sobre otros elementos */
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px); /* Efecto de elevación al pasar el mouse */
    background-color: #2f1ba3;
}