/* Intellectcs Corporate Services — Black & Gold Theme */

:root {
    --color-black: #0A0A0A;
    --color-black-light: #1A1A1A;
    --color-black-soft: #141414;
    --color-gold: #C5A572;
    --color-gold-bright: #D4AF37;
    --color-gold-dark: #9A7B3F;
    --color-surface: #FAF9F7;
    --color-surface-warm: #F5F3EF;
    --color-text: #0A0A0A;
    --color-text-muted: #525252;
    --shadow-soft: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 32px -8px rgba(0, 0, 0, 0.1);
    --shadow-lift: 0 16px 48px -12px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 4px 20px -4px rgba(197, 165, 114, 0.35);
}

html {
    scroll-behavior: smooth;
}

.site-logo-img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--color-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Section heading accent */
.section-heading {
    position: relative;
    padding-bottom: 1rem;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-bright));
    border-radius: 2px;
}
.section-heading-left::after {
    left: 0;
    transform: none;
}

.gradient-mesh {
    background-color: var(--color-surface);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(197, 165, 114, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 70% 60% at 50% 80%, rgba(0, 0, 0, 0.03) 0%, transparent 60%);
}

.gradient-mesh-dark {
    background-color: var(--color-black);
    background-image:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(197, 165, 114, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.font-display { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
.font-serif-display { font-family: 'Playfair Display', Georgia, serif; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold-bright) 100%);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px -4px rgba(197, 165, 114, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: #fff;
    color: var(--color-black);
    border: 2px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-soft);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(197, 165, 114, 0.5);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-outline-light:hover {
    transform: translateY(-2px);
    background: rgba(197, 165, 114, 0.15);
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(197, 165, 114, 0.25);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-black);
    transition: color 0.2s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-bright));
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--color-gold-dark); }

/* Dark header navigation */
.site-header-dark .nav-link-dark {
    color: rgba(255, 255, 255, 0.85);
}
.site-header-dark .nav-link-dark::after {
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-bright));
}
.site-header-dark .nav-link-dark:hover,
.site-header-dark .nav-link-dark.active {
    color: var(--color-gold-bright);
}
.site-header-dark.header-scrolled {
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(197, 165, 114, 0.3);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 48px; }

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (min-width: 768px) { .stat-number { font-size: 3.5rem; } }

.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(197, 165, 114, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    color: var(--color-gold-dark);
    border: 1px solid rgba(197, 165, 114, 0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.2);
}
.form-input.error { border-color: #ef4444; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.875rem; color: var(--color-black); }
.form-error { margin-top: 0.25rem; font-size: 0.8125rem; color: #ef4444; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.breadcrumb a { color: rgba(255, 255, 255, 0.65); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--color-gold-bright); }

.prose-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}
.prose-content p { margin-bottom: 1.25rem; line-height: 1.75; color: var(--color-text-muted); }
.prose-content ul { margin-bottom: 1.25rem; padding-left: 1.5rem; list-style-type: disc; }
.prose-content li { margin-bottom: 0.5rem; line-height: 1.75; color: var(--color-text-muted); }
.prose-content a { color: var(--color-gold-dark); text-decoration: underline; text-underline-offset: 2px; }

.process-step::before {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 4rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold) 0%, rgba(197, 165, 114, 0.2) 100%);
}
.process-step:last-child::before { display: none; }

[x-cloak] { display: none !important; }

.header-scrolled {
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(197, 165, 114, 0.15);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(10, 10, 10, 0.78) 50%, rgba(0, 0, 0, 0.65) 100%);
}

/* Gold top accent bar */
.gold-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-bright), var(--color-gold-dark));
}
