/* ─── BASE & RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; overflow-x: hidden; }

/* ─── NAV ─── */
#nav {
    background: rgba(253, 252, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}
#nav.scrolled {
    background: rgba(253, 252, 250, 0.95);
    box-shadow: 0 4px 30px rgba(27, 67, 50, 0.08);
}

/* ─── MOBILE MENU ─── */
.menu-line { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
#menuBtn.active .menu-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menuBtn.active .menu-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 5rem; }
#mobileMenu.open { transform: translateX(0); }

.mobile-link { transition: all 0.3s ease; }

/* ─── HERO GEOMETRIC SHAPES ─── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.geo-circle--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212, 113, 59, 0.08) 0%, transparent 70%);
    top: -100px; left: -150px;
    animation: float-slow 20s ease-in-out infinite;
}
.geo-circle--2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.1) 0%, transparent 70%);
    bottom: 10%; right: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}
.geo-square {
    position: absolute;
    width: 120px; height: 120px;
    background: rgba(27, 67, 50, 0.04);
    border-radius: 24px;
    top: 18%; right: 2%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
    pointer-events: none;
}
.geo-triangle {
    position: absolute;
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 168, 56, 0.07);
    bottom: 15%; left: 3%;
    animation: float-slow 18s ease-in-out infinite;
    pointer-events: none;
}
.geo-dots {
    position: absolute;
    width: 80px; height: 80px;
    bottom: 25%; right: 15%;
    background-image: radial-gradient(circle, rgba(27, 67, 50, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ─── PRODUCT CARDS ─── */
.product-card {
    will-change: transform;
}
.product-card:hover {
    transform: translateY(-6px);
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 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; }
}

/* ─── FORM ─── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ─── SELECTION ─── */
::selection {
    background: rgba(27, 67, 50, 0.15);
    color: #1B4332;
}
