/* ========================================= */
/* ESTILOS ESPECÍFICOS: SERVICIOS           */
/* ========================================= */

.page-header {
    padding: 140px 0 80px 0;
    text-align: center;
}

.page-title {
    letter-spacing: -1px;
}

/* BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 360px);
    }

    .span-col-2 {
        grid-column: span 2;
    }

    .span-row-2 {
        grid-row: span 2;
    }
}

.bento-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-cyan);
}

/* UTILIDADES */
.icon-glow-container {
    width: 60px;
    height: 60px;
    background: rgba(0, 168, 204, 0.1);
    border: 1px solid rgba(0, 168, 204, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 168, 204, 0.05);
}

.icon-glow-large {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 204, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* NUEVA CLASE PARA LA LISTA CORREGIDA */
.glass-list-item {
    background: rgba(255, 255, 255, 0.03);
    /* Fondo casi transparente */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Borde sutil */
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.glass-list-item:hover {
    background: rgba(0, 168, 204, 0.1);
    /* Glow cian al pasar mouse */
    border-color: rgba(0, 168, 204, 0.3);
}

/* 1. VISUAL: NETWORK BG */
.network-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 168, 204, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* CODE TERMINAL */
.code-terminal {
    background-color: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 2. VISUAL: PRODUCT + CREDIT CARD */
.product-float-group {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 0;
    opacity: 0.5;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
}

.bento-card:hover .product-float-group {
    transform: rotate(0deg) translateY(-20px);
    opacity: 0.8;
}

.mini-product-card {
    width: 140px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.mini-img-box {
    width: 100%;
    height: 80px;
    background: rgba(0, 168, 204, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
}

.mini-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mini-btn {
    width: 100%;
    height: 20px;
    background: var(--color-cyan);
    border-radius: 4px;
    margin-top: 15px;
    opacity: 0.8;
}

.mini-credit-card {
    width: 120px;
    height: 75px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: absolute;
    bottom: 20px;
    left: -60px;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.cc-chip {
    width: 20px;
    height: 14px;
    background: #fbbf24;
    border-radius: 3px;
    position: absolute;
    top: 15px;
    left: 10px;
}

.cc-strip {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: absolute;
    bottom: 15px;
    left: 10px;
}

/* 3. SERVER RACK */
.server-rack-art {
    width: 80px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 0 20px rgba(0, 168, 204, 0.1);
}

.server-unit {
    height: 14px;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
    gap: 3px;
}

.blink-light {
    width: 3px;
    height: 3px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.blink-light.delay-1 {
    animation-delay: 0.2s;
    background: var(--color-cyan);
}

.blink-light.delay-2 {
    animation-delay: 0.5s;
    background: #ef4444;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* 4. VISUAL: DB & CHART */
.db-stack-visual {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
}

.db-layer {
    width: 60px;
    height: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(0, 168, 204, 0.3);
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.bento-card:hover .db-layer {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 168, 204, 0.3);
}

.chart-visual {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    width: 15px;
    background: var(--color-cyan);
    opacity: 0.3;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.h-40 {
    height: 30%;
}

.h-70 {
    height: 60%;
}

.h-100 {
    height: 90%;
}

.bento-card:hover .chart-bar {
    opacity: 0.8;
    box-shadow: 0 0 10px var(--color-cyan);
}

.ui-layers-visual {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 80px;
}

.ui-window {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(11, 45, 82, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ui-window.back {
    top: -10px;
    left: 10px;
    opacity: 0.5;
    transform: scale(0.9);
}

.ui-window.front {
    top: 0;
    left: 0;
    border-top: 2px solid var(--color-cyan);
}

.border-top-cyan {
    border-top: 3px solid var(--color-cyan) !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.opacity-10 {
    opacity: 0.1;
}