/* Estilos adicionales */
img { transition: transform .35s ease; }
article:hover img { transform: scale(1.04); }

/* Soften scroll */
html { scroll-behavior: smooth; }

/* Ajustes de accesibilidad */
:focus { outline: 2px solid #14532d; outline-offset: 2px; }

/* Botón flotante de WhatsApp */
.whatsapp-btn {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	width: 56px;
	height: 56px;
	background: #22c55e;
	color: #000;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(34,197,94,0.18);
	z-index: 60;
	transition: transform .15s ease, box-shadow .15s ease;
	text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.06); box-shadow: 0 12px 30px rgba(34,197,94,0.22); }
.whatsapp-btn svg path { fill: #ffffff !important; }

/* Ensure SVG thumbnails look crisp on dark bg */
article img { background: #000; }

/* Glass card */
.card {
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
	border: 1px solid rgba(255,255,255,0.04);
	backdrop-filter: blur(6px);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(2,6,23,0.6); }

/* Headings */
h2, h4 { letter-spacing: -0.02em; }

/* Small responsive tweak */
@media (max-width: 640px) {
	.whatsapp-btn { right: 1rem; bottom: 1rem; }
}

/* Sidebar styles */
.sidebar {
	padding: 0.35rem;
	gap: 0.5rem;
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
	border-radius: 12px;
	transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.sidebar a { display: inline-block; min-width: 90px; text-align: center; }
.sidebar.scrolled {
	background: #000 !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.sidebar.scrolled a { color: #fff !important; }

/* Site header styling to match provided design */
.site-header {
	width: 100%;
	background: linear-gradient(90deg,#071024 0%, #0e2534 100%);
	border-bottom: 1px solid rgba(255,255,255,0.03);
	backdrop-filter: blur(6px);
}
.site-header .avatar {
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #06201a;
	background: linear-gradient(180deg,#34d399,#10b981);
	box-shadow: 0 6px 18px rgba(16,185,129,0.12);
}
.site-header h1 { color: #e6f7ee; }
.site-header p { color: #bcded0; }

@media (max-width: 768px) {
	.site-header .avatar { width:40px; height:40px; }
}
