/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }

/* ── Nav scroll state ── */
#nav.scrolled {
    background: rgba(15, 118, 110, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-logo { color: #f1f5f9; }

/* ── Mobile menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: opacity 0.3s; }

/* ── Hero geometric shapes ── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}
.geo-circle--1 {
    width: 600px; height: 600px;
    background: #5eead4;
    top: -200px; right: -100px;
    animation: float 20s ease-in-out infinite;
}
.geo-circle--2 {
    width: 300px; height: 300px;
    background: #2dd4bf;
    bottom: -80px; left: 10%;
    animation: float 15s ease-in-out infinite reverse;
}
.geo-circle--3 {
    width: 150px; height: 150px;
    background: #99f6e4;
    top: 30%; left: 45%;
    animation: float 12s ease-in-out infinite;
}
.geo-rect {
    position: absolute;
    opacity: 0.06;
    background: #f0fdfa;
}
.geo-rect--1 {
    width: 200px; height: 200px;
    top: 15%; right: 5%;
    transform: rotate(45deg);
    animation: spin 30s linear infinite;
}
.geo-rect--2 {
    width: 120px; height: 120px;
    bottom: 20%; left: 5%;
    transform: rotate(20deg);
    animation: spin 25s linear infinite reverse;
}
.geo-tri {
    position: absolute;
    opacity: 0.05;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent #f0fdfa transparent;
    top: 60%; right: 15%;
    animation: float 18s ease-in-out infinite;
}
.geo-circle--4 {
    width: 500px; height: 500px;
    background: #f0fdfa;
    top: -150px; right: -100px;
    opacity: 0.06;
    animation: float 22s ease-in-out infinite;
}
.geo-circle--5 {
    width: 250px; height: 250px;
    background: #ccfbf1;
    bottom: -80px; left: 5%;
    opacity: 0.07;
    animation: float 16s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Marquee ── */
.marquee-track {
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Reveal on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    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; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #0D9488; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #14b8a6; }
