/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ── Hero Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}
.hero-title {
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s both;
}
.hero-description {
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}
.hero-cta {
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s both;
}

/* ── Buttons ── */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
    position: relative;
    overflow: hidden;
}

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Section Labels ── */
.section-label {
    letter-spacing: 0.35em;
}
.section-title {
    letter-spacing: -0.01em;
}

/* ── Service Cards ── */
.service-card {
    padding: 2rem 1rem;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 4px 24px rgba(20, 184, 166, 0.06);
}

/* ── Gallery ── */
.gallery-item {
    border-radius: 2px;
    overflow: hidden;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.3s;
}
.scroll-indicator:hover { color: #0d9488; }

/* ── Selection ── */
::selection {
    background: #ccfbf1;
    color: #134e4a;
}
