/* ── Base & Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.06);
}

.geo-circle-2 {
    bottom: 5%;
    left: -8%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.05);
}

.geo-rect-1 {
    top: 20%;
    left: 55%;
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.08);
    transform: rotate(45deg);
    border-radius: 16px;
}

.geo-triangle {
    bottom: 15%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(16, 185, 129, 0.07);
}

.geo-dots {
    top: 30%;
    left: 3%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.2) 2px, transparent 2px);
    background-size: 14px 14px;
}

.geo-circle-3 {
    border-radius: 50%;
    position: absolute;
}

.geo-rect-2 {
    position: absolute;
    border-radius: 24px;
}

.geo-dots-light {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
}

.geo-circle-light {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ── Service Card Hover ── */
.service-card {
    will-change: transform;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ── Mobile Menu Transition ── */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

/* ── Focus Styles ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}
