/*======== DESARROLLO ========*/

.desarrollo {
    background-image: url("../img/fondo_suave.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    transition: background-position 0.2s ease;
    padding: 150px 5%;
}

/*======== CABECERA ========*/

.cabecera {
    text-align: center;
    max-width: 1100px;
    margin: auto;
    animation: fadeUp 1s ease;
}

.subtitulo {
    color: #0b3e90;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.cabecera h1 {
    font-size: clamp(2.2rem, 5vw, 5rem);
    font-weight: 900;
    background: linear-gradient(90deg,
            #011d49,
            #19b1f2,
            #011d49);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.descripcion {
    max-width: 800px;
    margin: 30px auto;
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
}

/*======== TITULOS ========*/
.servicios {
    padding: 90px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.servicios h2,
.tecnologias h2 {
    padding: 10px 5%;
    margin-bottom: 60px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0b3e90;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 50px;

}

/*======== GRID ========*/

.servicios-grid,
.tecnologias-grid {
    display: grid;
    gap: 30px;
}


/*======== TARJETAS ========*/
/* Estilo para los iconos SVG */
.card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    stroke: #007BFF;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.card:hover .icon {
    stroke: #ffffff;
    transform: scale(1.1);
}

.card {
    background: rgba(8, 20, 45, .18);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(29, 167, 188, 0.25);
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    transition: .35s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*TECNOLOGÍAS */
.tecnologias-grid {
    display: grid;
    gap: 15px; 
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    max-width: 900px;
    margin: 0 auto;
    width: 95%; 
}

.tech-card {
    border: 1px solid rgba(192, 247, 255, 0.25);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 20px;
    text-align: center;
    transition: .35s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card img {
    align-items: center;
    width: 60px;
    height: 60px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    margin: 0 0 15px 0;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-card h3 {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
}
.tech-card:hover {
    transform: translateY(-8px);
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.05);
}

.tech-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6));
}


/*==========================
RESPONSIVE AJUSTES
==========================*/

@media(max-width:992px) {
    .desarrollo {
        background-image: url("../img/fondo_suavemovil.png");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        padding: 50px 20px;

    }
}


@media(min-width:1400px) {
    
    .servicios-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tecnologias-grid {
        grid-template-columns: repeat(5, 1fr);
        width: 40%;   
    }
}