/* ── Base ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ── Hero gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #0A1628 0%, #152D56 35%, #1B3A6E 55%, #214786 75%, #0F2140 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-blob {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.5) 0%, transparent 70%);
}

.hero-blob-1 {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.4) 0%, transparent 70%);
}

.hero-blob-2 {
    background: radial-gradient(circle, rgba(100, 150, 255, 0.3) 0%, transparent 70%);
}

.hero-blob-3 {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
}

/* ── Hero fade-up animation ── */
.hero-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-fade-up:nth-child(1) { animation-delay: 0.1s; }
.hero-fade-up:nth-child(2) { animation-delay: 0.3s; }
.hero-fade-up:nth-child(3) { animation-delay: 0.5s; }
.hero-fade-up:nth-child(4) { animation-delay: 0.7s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Section labels ── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B8860B;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: #0A1628;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

/* ── Service cards ── */
.service-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.visible:nth-child(1) { transition-delay: 0.05s; }
.service-card.visible:nth-child(2) { transition-delay: 0.1s; }
.service-card.visible:nth-child(3) { transition-delay: 0.15s; }
.service-card.visible:nth-child(4) { transition-delay: 0.2s; }
.service-card.visible:nth-child(5) { transition-delay: 0.25s; }
.service-card.visible:nth-child(6) { transition-delay: 0.3s; }

/* ── Process steps ── */
.process-step {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step.visible:nth-child(1) { transition-delay: 0.1s; }
.process-step.visible:nth-child(2) { transition-delay: 0.2s; }
.process-step.visible:nth-child(3) { transition-delay: 0.3s; }

/* ── Navbar ── */
.nav-link {
    position: relative;
}

/* ── Scroll-triggered animations ── */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile menu ── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
}

/* ── Form ── */
#contact-form input,
#contact-form select,
#contact-form textarea {
    appearance: none;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(160deg, #0A1628 0%, #152D56 40%, #1B3A6E 65%, #0F2140 100%);
    }
}
