:root {
    --color-brand: #b91414;
    --color-brand-hover: #ff0000;
    --color-bg: #FAFAF9; 
    --color-text: #1C1917; 
    --color-text-muted: #57534E;
    --color-accent: #78716C; 
    --color-whatsapp: #25D366;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.site-wrapper {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.content-area { flex-grow: 1; }

h1, h2, h3, .font-serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--color-whatsapp);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 50;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;    justify-content: center;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 24px; height: 24px; fill: currentColor; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { 
    background: var(--color-accent); 
    border-radius: 10px; 
    border: 2px solid var(--color-bg); 
}
::-webkit-scrollbar-thumb:hover { background: var(--color-brand); }

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: transparent; /* ¡Chao fondo verde feo! */
    border-radius: 50%; /* Mantenemos esto para que la sombra sea redonda */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 50;
    width: 60px;  /* Tamaño total del botón flotante */
    height: 60px;
    display: flex;
    align-items: center;    
    justify-content: center;
}

.whatsapp-float:hover { 
    transform: scale(1.1); 
}

/* Regla nueva para que el PNG se adapte perfecto al círculo */
.whatsapp-float img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}