/* -------------------------------------
   What We Do Section (Image Grid Marquee)
   ------------------------------------- */
.what-we-do-grid-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.grid-background-wrapper {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-columns {
    display: flex;
    gap: 15px;
    height: 100%;
    justify-content: center;
    transform: rotate(-45deg);
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 20vw;
    min-width: 220px;
}

.grid-col img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.85; /* Más claro, menos oscurecido */
    filter: brightness(0.9);
    transition: opacity 0.3s;
}

.grid-col img:hover {
    opacity: 1;
}

/* Scroll Animations */
.scroll-up {
    animation: scrollUp 40s linear infinite;
}

.scroll-down {
    animation: scrollDown 40s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 7.5px)); }
}

@keyframes scrollDown {
    0% { transform: translateY(calc(-50% - 7.5px)); }
    100% { transform: translateY(0); }
}

/* Overlay gradient for better text readability */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Foreground Content */
.grid-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.grid-title {
    font-size: 5.75rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 5px;
}

.grid-subtitle {
    font-size: 1.265rem;
    color: #aaaaaa;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.grid-btn {
    display: inline-block;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.grid-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

@media (max-width: 768px) {
    .grid-title {
        font-size: 4.025rem;
    }
    .grid-col {
        width: 35vw;
        min-width: 150px;
    }
    .grid-col img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.85; /* Más claro, menos oscurecido */
    filter: brightness(0.9);
    transition: opacity 0.3s;
}
}


