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

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

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

/* === GEOMETRIC SHAPES === */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    background: rgba(255, 184, 196, 0.12);
    border-radius: 50%;
    top: -80px;
    right: -100px;
}

.geo-circle-2 {
    width: 280px;
    height: 280px;
    background: rgba(255, 216, 222, 0.1);
    border-radius: 50%;
    bottom: 10%;
    left: -60px;
}

.geo-circle-3 {
    width: 160px;
    height: 160px;
    background: rgba(255, 143, 168, 0.15);
    border-radius: 50%;
    top: 40%;
    right: 5%;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 216, 222, 0.08);
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 16px;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 184, 196, 0.12);
    bottom: 25%;
    right: 15%;
    transform: rotate(30deg);
    border-radius: 12px;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(255, 216, 222, 0.08);
    top: 60%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(255,216,222,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* === HERO CARDS === */
.hero-card {
    will-change: transform;
}

/* === SERVICE CARDS === */
.service-card {
    will-change: transform;
}

/* === WHY CARDS === */
.why-card {
    will-change: transform;
}

/* === SCROLL REVEAL (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .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; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* === HEADER SCROLLED STATE === */
#site-header.scrolled {
    box-shadow: 0 4px 20px rgba(125, 46, 74, 0.1);
}

/* === BACK TO TOP === */
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* === FORM SELECT ARROW === */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237D2E4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* === MOBILE MENU ANIMATION === */
#mobile-nav {
    animation: slideDown 0.3s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 160px;
        height: 160px;
    }
    
    .geo-square-1 {
        width: 70px;
        height: 70px;
    }
    
    .geo-triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 70px;
    }
}
