/* ==========================================================================
   VilaTec 2.0 — CSS de la Página Principal de Desarrollo y Programación
   Showroom Grid de 2 columnas con efectos de cristal y acentos azul/naranja
   ========================================================================== */

#desarrollo-main-page {
    background-color: #05070a;
    color: #f3f4f6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.dev-hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
    overflow: hidden;
}

.dev-hero__header {
    max-width: 68rem;
    margin-bottom: 5rem;
}

.dev-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.dev-hero__highlight {
    background: linear-gradient(135deg, #a5f3fc 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.dev-hero__desc {
    color: #9ca3af;
    line-height: 1.65;
    max-width: 52rem;
    font-weight: 300;
}

/* --- Showroom Grid (2 columnas) --- */
.dev-showroom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* --- Showroom Tarjetas --- */
.dev-show-card {
    position: relative;
    height: 440px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(13, 20, 35, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dev-show-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.78;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.dev-show-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 28, 0.90) 10%, rgba(8, 14, 28, 0.35) 50%, rgba(8, 14, 28, 0.01) 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.dev-show-card__content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: flex-end;
}

/* Icono Flotante Redondeado */
.dev-show-card__icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(8, 14, 28, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: auto; /* Empuja el título y descripción hacia abajo */
}

.dev-show-card__icon-wrapper span.material-symbols-outlined {
    font-size: 1.5rem;
}

.dev-show-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin: 0;
    transition: color 0.3s ease;
}

.dev-show-card__desc {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* --- HOVER EFFECTS GENERALES --- */
.dev-show-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.dev-show-card:hover .dev-show-card__bg {
    transform: scale(1.03);
    opacity: 0.94;
}

.dev-show-card:hover .dev-show-card__overlay {
    opacity: 0.65;
}

/* Tarjeta 1: Software a Medida (Acento Naranja/Ámbar) */
.dev-showroom-grid > a:nth-child(1) {
    border-color: rgba(255, 157, 0, 0.12);
}

.dev-showroom-grid > a:nth-child(1) .dev-show-card__icon-wrapper {
    border-color: rgba(255, 157, 0, 0.35);
    color: #ff9d00;
}

.dev-showroom-grid > a:nth-child(1):hover {
    border-color: rgba(255, 157, 0, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 157, 0, 0.15);
}

.dev-showroom-grid > a:nth-child(1):hover .dev-show-card__icon-wrapper {
    background: rgba(255, 157, 0, 0.95);
    border-color: #ffb03a;
    color: #05070a;
    box-shadow: 0 0 20px rgba(255, 157, 0, 0.4);
}

.dev-showroom-grid > a:nth-child(1):hover .dev-show-card__title {
    color: #ff9d00;
}

/* Tarjeta 2: eCommerce y Web Pro (Acento Azul) */
.dev-showroom-grid > a:nth-child(2) {
    border-color: rgba(59, 130, 246, 0.12);
}

.dev-showroom-grid > a:nth-child(2) .dev-show-card__icon-wrapper {
    border-color: rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}

.dev-showroom-grid > a:nth-child(2):hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.15);
}

.dev-showroom-grid > a:nth-child(2):hover .dev-show-card__icon-wrapper {
    background: rgba(59, 130, 246, 0.95);
    border-color: #93c5fd;
    color: #05070a;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.dev-showroom-grid > a:nth-child(2):hover .dev-show-card__title {
    color: #60a5fa;
}


/* ==========================================================================
   MEDIA QUERIES (Responsividad)
   ========================================================================== */

@media (max-width: 1024px) {
    .dev-showroom-grid {
        gap: 2rem;
    }
    
    .dev-show-card {
        height: 380px;
    }
    
    .dev-show-card__content {
        padding: 2.25rem;
    }
}

@media (max-width: 768px) {
    .dev-hero {
        padding: 10rem 0 6rem;
    }
    
    .dev-hero__header {
        margin-bottom: 3.5rem;
    }
    
    .dev-showroom-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dev-show-card {
        height: 340px;
    }
}

@media (max-width: 480px) {
    .dev-hero {
        padding: 9rem 0 5rem;
    }
    
    .dev-hero__title {
        font-size: 2.2rem;
    }
    
    .dev-show-card {
        height: 290px;
    }
    
    .dev-show-card__content {
        padding: 1.75rem;
        gap: 0.75rem;
    }
    
    .dev-show-card__title {
        font-size: 1.45rem;
    }
    
    .dev-show-card__icon-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }
    
    .dev-show-card__icon-wrapper span.material-symbols-outlined {
        font-size: 1.35rem;
    }
}
