/* =========================
   TECNOLOGIAS PAGE STYLES
   ========================= */

/* Hero Section */
.tech-hero {
    position: relative;
    width: 100%;
    height: 100vh !important;
    height: 100dvh !important;
    /* Full height to match index/nosotros */
    min-height: 600px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/tecnologia/encabezado-tecnologia.webp') center 20%/cover no-repeat;
    background-color: #2c3e50;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.tech-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for contrast */
    z-index: 1;
}

.tech-visual-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    /* Increased opacity for better contrast */
    backdrop-filter: blur(10px);
}

/* Abstract Blob Decoration */
.tech-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: pulseBlob 8s ease-in-out infinite;
}

@keyframes pulseBlob {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Feature Cards */
.bg-light-alt {
    background-color: #fdfdfd !important;
}

.feature-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
}

.transition-hover {
    transition: all 0.3s ease;
}

/* Stat Cards in Hero */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Typography specifics */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    .tech-hero {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 600px !important;
        padding-bottom: 0;
        text-align: center;
    }

    .tech-hero .row {
        /* Default behavior applies (Text first, then Visuals) */
    }

    .tech-visual-wrapper {
        margin-top: 40px;
    }
}

/* Contrast enhancement for cards inside hero wrapper */
.tech-visual-wrapper .bg-light {
    background-color: #f0f2f5 !important;
}