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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out both;
}

/* Bounce slow */
@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 2s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service card hover */
.service-card {
    transition: background-color 0.5s ease;
}

.service-card:hover {
    background-color: rgb(253, 240, 232);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FAF6F1;
}

::-webkit-scrollbar-thumb {
    background: #EBCFB0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C4703F;
}

/* Selection */
::selection {
    background: #F9DEC8;
    color: #5C311F;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Remove default button styles */
button {
    border: none;
    background: none;
    cursor: pointer;
}

/* Link underline on hover for mailto/tel */
a[href^="mailto:"],
a[href^="tel:"] {
    text-decoration: none;
}
