/* =========================================
   INTRO (Texto Superior)
   ========================================= */
.intro {
    text-align: center;
    padding: 40px 0;
}

.intro__title {
    font-size: 22px;
    color: #444;
    max-width: 800px;
    margin: 0 auto 10px;
    line-height: 1.2;
}

.intro__subtitle, .intro__location {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

/* =========================================
   SERVICES GRID (Mobile First)
   ========================================= */
.services__grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 columna en móvil */
    gap: 20px;
    margin-bottom: 50px;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card__title {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.card__title--blue { color: #5dade2; }
.card__title--light-blue { color: #85c1e9; }

.card__image-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card__image {
    max-height: 100%;
    object-fit: contain;
}

.card__text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.card__link {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: bold;
    text-align: left;
}

/* =========================================
   BRANDS (Imagen de Marcas)
   ========================================= */
.brands {
    /*border-top: 1px solid #ccc; */
    padding: 20px 0;
    /* margin-bottom: 40px; */
}

.brands__img {
    margin: auto;
    width: 100%;
    height: 50px;
}

/* =========================================
   MEDIA QUERIES (Escritorio)
   ========================================= */
@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }

    .brands__img {
    margin: auto;
    width: 50%;
    height: 50px;
    }   


}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columnas en PC */
    }
    
    .intro__title {
        font-size: 28px;
    }
}