/* --- CONSULTORIA SPECTACULAR: THE GLOBAL NEXUS --- */
:root {
    --nexus-dark: #020b16;
    /* Deepest Navy/Black */
    --nexus-blue: #004e92;
    --nexus-cyan: #00d2ff;
    --nexus-gold: #ffd700;
    /* Accent for "Value" */
    --nexus-glass: rgba(10, 25, 45, 0.7);
    --nexus-border: rgba(0, 210, 255, 0.1);
}

body.consultoria-page {
    background-color: var(--nexus-dark);
    color: #e0f4ff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- HERO SECTION: GLOBAL NETWORK --- */
.consultoria-hero-spec {
    position: relative;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0f2b4d 0%, var(--nexus-dark) 80%);
}

/* Animated World Network Background */
.network-grid-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(1000px) rotateX(60deg);
    animation: planeMov 30s linear infinite;
    z-index: 1;
}

@keyframes planeMov {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(60px);
    }
}

.hero-content-spec {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-sub-spec {
    font-family: 'Montserrat', sans-serif;
    color: var(--nexus-cyan);
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.5s;
}

.hero-title-spec {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #a5c9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.8s;
    text-shadow: 0 10px 30px rgba(0, 78, 146, 0.5);
}

.hero-desc-spec {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 1.1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- BENTO GRID SERVICES --- */
.bento-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Special Spans for Bento Effect (Desktop) */
@media (min-width: 1200px) {
    .bento-item:nth-child(1) {
        grid-column: span 2;
    }

    /* Legislation */
    .bento-item:nth-child(7) {
        grid-column: span 2;
    }

    /* Legal Defense */
}

/* Card Design */
.bento-item {
    background: var(--nexus-glass);
    border: 1px solid var(--nexus-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

}

/* Holographic Hover Effect */
.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.bento-item:hover {
    transform: translateY(-10px);
    border-color: var(--nexus-cyan);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.15);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--nexus-cyan);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.05);
    transition: all 0.4s ease;
}

.bento-item:hover .bento-icon {
    background: var(--nexus-cyan);
    color: var(--nexus-dark);
    transform: scale(1.1) rotate(-5deg);
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 1rem;
}

/* Decorative Number */
.bento-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    transition: all 0.4s;
}

.bento-item:hover .bento-num {
    color: rgba(255, 255, 255, 0.05);
    transform: translateX(-10px);
}

/* --- CTA FOOTER --- */
.consulting-cta {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to top, #000 0%, var(--nexus-dark) 100%);
    position: relative;
}

.neon-btn {
    display: inline-block;
    padding: 20px 60px;
    background: transparent;
    border: 2px solid var(--nexus-cyan);
    color: var(--nexus-cyan);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
}

.neon-btn:hover {
    color: var(--nexus-dark);
    box-shadow: 0 0 20px var(--nexus-cyan), inset 0 0 20px var(--nexus-cyan);
    background: var(--nexus-cyan);
}