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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    color: #2D3748;
    background-color: #F5F0EB;
    overflow-x: hidden;
}

/* ─── HEADER ─── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#site-header.scrolled {
    background: rgba(10, 46, 48, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── HERO ─── */
.hero-section {
    position: relative;
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(251, 191, 36, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-section h1 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-section p {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-section .flex-col {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-section .mt-12 {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image-wrapper {
    animation: fadeInRight 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ─── BUTTONS ─── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #D97706;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #D97706;
    cursor: pointer;
}

.cta-primary:hover {
    background: #B45309;
    border-color: #B45309;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #F0FFF4;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: #FCD34D;
    color: #FCD34D;
    transform: translateY(-2px);
}

/* ─── SERVICE CARDS ─── */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(13, 59, 62, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(13, 59, 62, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 59, 62, 0.15);
}

/* ─── TESTIMONIAL CARDS ─── */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 59, 62, 0.12);
}

/* ─── SCROLL REVEAL (below-fold only) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-section[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-section[data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MOBILE MENU ─── */
.mobile-bar {
    display: block;
}

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

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

/* ─── BACK TO TOP ─── */
.back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:not(.visible) {
    transform: translateY(16px);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #0D3B3E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2A9D8F;
}

/* ─── FOCUS STYLES ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D97706;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── SELECTION ─── */
::selection {
    background: #2A9D8F;
    color: #fff;
}
